Simple app that runs Kafka locally using spring-kafka-test.
- Configuration-free
- Kafka downloaded through Maven
- Useful in restricted environments without Docker or alternatives
./run-kafka.shThis will start Kafka on port 9092 with a topic topic.
To change the port or topic, use the environment variables KAFKA_PORT and KAFKA_TOPIC:
KAFKA_PORT=12345 KAFKA_TOPIC=test-topic ./run-kafka.shPress Ctrl+C.