简体   繁体   中英

Nifi not writing to GCP Pub/Sub

I am trying to send sample text messages to GCP Pub/Sub topic "ABC" using Nifi (PublishGCPubSub). However, I do not see any of those messages in cloud shell.

There is no issue in the topics as when I send sample message from cloud shell itself to the topic, I am able to read the same from the subscription in cloud shell.

Below is my nifi flow:

在此处输入图片说明

This was resolved by the author:

I solved my problem. The issue was with the service account which was not setup for pub-sub. I used the correct service account json key and the issue has been resolved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM