-
I have a heartbeat topic that receives messages on the topic
On the broker and bookie containers, I have the GCP JSON key file located at In my broker.conf file, I have the GCS attributes configured as follows:
The tiered-storage.key file looks as follows:
It seems that the key file path is incorrect. However, when I tried altering the key file to contain invalid JSON, I got an error message that the JSON was invalid when I triggered a manual offload of the topic, which implies that Pulsar was able to access the key file. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
FYI @david-streamlio |
Beta Was this translation helpful? Give feedback.
-
Could the bucket path be incorrect? Perhaps it doesn't like the prefix. |
Beta Was this translation helpful? Give feedback.
-
I removed the "gs://" prefix from the bucket name in broker.conf, and the issue was resolved. |
Beta Was this translation helpful? Give feedback.
-
@devinbost Seems we should clarify it in the document, are you interested in fix it? |
Beta Was this translation helpful? Give feedback.
-
cc @momo-jun This can indicate a doc issue. |
Beta Was this translation helpful? Give feedback.
-
Sorry for my late reply. As discussed with @RobertIndie, we both think the docs are okay by clarifying the attribute (bucket name) and providing an example (pulsar-topic-offload). It would be too much if we add patches to not use the prefix. |
Beta Was this translation helpful? Give feedback.
I removed the "gs://" prefix from the bucket name in broker.conf, and the issue was resolved.