How can I publish Apigee logs as messages to a GCP pub sub topic?
The GCP pub sub java client library for publishing messages to a topic works on my local but throws an error when deployed as java call out policy on Apigee.
Which is the best approach to publish Apigee logs to a Topic?
1 Like
There are some limitation with running Java code in Apigee. So you might be running into one. For more info check out those limitations here.
Other options to publish to Pub/Sub:
Have you tried any of these options?
2 Likes
REST API solution worked. Thanks for your help!
Thanks for the update. I’m glad it worked. If you want to elaborate more about your solution, feel free to share your thought process or even some code here in the community. I’m sure someone will benefit from it and will be grateful. Cheers!