Motivation: Write integration tests for events without using Azure Event Hub resources
Exploring options
- Create a layer on top of azure sdk and pure kafka client. Requires code change in existing application.
- Use azure sdk to directly connect to non Event Hub Kafka endpoint
- Change client from azure sdk to pure kafka client
See references for readings and sources
nvm use
pnpm i
When running jest
if encounter Could not find a working container runtime strategy
source setup-colima.sh
pnpm run test:watch
pnpm run test
Kafka UI
docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true provectuslabs/kafka-ui
Kafka Tool https://kafkatool.com/download.html/