Skip to content

Instantly share code, notes, and snippets.

@dobl1
Last active December 6, 2023 15:46
Show Gist options
  • Save dobl1/8187ff8315282518d64f0c9847fb75ae to your computer and use it in GitHub Desktop.
Save dobl1/8187ff8315282518d64f0c9847fb75ae to your computer and use it in GitHub Desktop.
Apidays 2023 - Workshop

Kafka broker URL

pkc-1wvvj.westeurope.azure.confluent.cloud:9092

SASL JAAS Config

org.apache.kafka.common.security.plain.PlainLoginModule required username='WXNMBJESF6TZ52IE' password='opQ9U5RRJNqNtk4mCbAcUWG4C5mez0RpQxixBqfQ0AnBQ8mXVAVMR+b4oGskPY3q';

Topic

apidays

Curl command to open an SSE connection

curl -N -H 'Accept:text/event-stream' https://YOUR-GATEWAY/YOUR-API-PATH

Curl command to send a new review to my service

curl -X POST -H 'Content-Type: application/json' -d '{ "nickname": "John", "mark": 10 }' https://dorian-dev-demo-apim-gateway.cloud.gravitee.io/apidays/2023/reviews

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment