mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
3faaf954bb
Former-commit-id: 649e2d673a834625d5f3e8703533ad1db2553aec |
||
---|---|---|
.. | ||
1_create_topic.png | ||
2_list_topics.png | ||
3_store_to_topic.png | ||
4_retrieve_from_topic_real_time.png | ||
0_docs.png | ||
docker-compose.yml | ||
Dockerfile | ||
go.mod | ||
main.go | ||
README.md |
Writing an API for Apache Kafka with Iris
Read the code.
Docker
- Open docker-compose.yml and replace
KAFKA_ADVERTISED_HOST_NAME
with your own local address - Install Docker
- Execute the command below to start kafka stack and the go application:
$ docker-compose up
Manually
Install & run Kafka and Zookeper locally and then:
go run main.go