知道我的 kafka_cluster 工作正常并且我正在使用 docker-compose 我放入容器中:registery 模式
curl -X POST -H "Content-Type: application/vnd.kafka.v1+json" \
--data '{"name": "my_consumer_instance", "format": "avro", "auto.offset.reset": "smallest"}' \
http://rest-proxy:8082/consumers/my_avro_consumer
curl: (6) Could not resolve host: rest-proxy