可能的解决方法包括:
{
"projectId":"my-project-id",
"topic":"projects/my-project-id/locations/us-central1/topics/my-topic",
"credentialProviderService":"Controller Service",
"perSessionCredentials":"false",
"timeout":"30 secs",
"batchSize":"1",
"batchEnabled":"true",
"maxThreads":"1",
"clientBufferSize":"16384",
"logLevel":"INFO",
"transientFailureWaitTime":"1 secs",
"totalTimeout":"300 secs",
"usePlainText":"false",
"targetPubSubLite":"true"
}
考虑使用Debug模式运行NiFi以获取更详细的错误消息,并检查处理器配置是否有误。
确保使用的NiFi版本支持PublishGCPubSubLite处理器。
如果问题仍然存在,请考虑在Apache JIRA上提交问题报告,以获取Apache NiFi社区的帮助。