Hi
This is more of a question about Pulsar Beam registering webhooks
I have a docker instance of Pulsar Standalone, another instance of Pulsar Admin and a docker instance Pulsar Beam running locally.
I create a token with https://pulsar.apache.org/docs/en/administration-pulsar-manager/#set-administrator-account-and-password and use it
curl -v -X POST -H "Authorization: Bearer $TOKEN1" -d ' {"TopicFullName": "persistent://tenant22/namespace2/test-topic3", "PulsarURL": "pulsar+ssl://toronto.do.kafkaesque.io:6651", "Token": "TOKEN2", "Webhooks": [{"URL": "https://webhook.com/webhook1", "InitialPosition": "earliest", "Subscription": "mysub", "WebhookStatus": 1}]}' localhost:8085/v2/topic
When using the API Create-or-Update-Topic https://kafkaesque-io.github.io/pulsar-beam-swagger/#/ for I do get the "Unauthorized" error
it is not clear to me how to get TOKEN1 and TOKEN2.
what configurations should I do in order to allow Pulsar Beam to register webhooks ?
Hi
This is more of a question about Pulsar Beam registering webhooks
I have a docker instance of Pulsar Standalone, another instance of Pulsar Admin and a docker instance Pulsar Beam running locally.
I create a token with https://pulsar.apache.org/docs/en/administration-pulsar-manager/#set-administrator-account-and-password and use it
curl -v -X POST -H "Authorization: Bearer $TOKEN1" -d ' {"TopicFullName": "persistent://tenant22/namespace2/test-topic3", "PulsarURL": "pulsar+ssl://toronto.do.kafkaesque.io:6651", "Token": "TOKEN2", "Webhooks": [{"URL": "https://webhook.com/webhook1", "InitialPosition": "earliest", "Subscription": "mysub", "WebhookStatus": 1}]}' localhost:8085/v2/topic
When using the API Create-or-Update-Topic https://kafkaesque-io.github.io/pulsar-beam-swagger/#/ for I do get the "Unauthorized" error
it is not clear to me how to get TOKEN1 and TOKEN2.
what configurations should I do in order to allow Pulsar Beam to register webhooks ?