-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.Confluent
32 lines (27 loc) · 963 Bytes
/
Makefile.Confluent
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
TOPIC_GENERIC_AVRO=test_arvro_schema
json-producer:
docker-compose run --rm kafka-clients \
python examples/json/json-producer.py \
--host=${INTERNAL_BROKER_ENDPOINT} \
--security-protocol=${SECURITY_PROTOCOL} \
--topic=test_json_schema_2 \
--schema-registry=${CONFLUENT_REGISTRY}
json-consumer:
docker-compose run --rm kafka-clients \
python examples/json/json-consumer.py \
--host=${INTERNAL_BROKER_ENDPOINT} \
--security-protocol=${SECURITY_PROTOCOL} \
--topic=test_json_schema_2 \
--schema-registry=${CONFLUENT_REGISTRY}
avro-consumer:
docker-compose run --rm kafka-clients \
python examples/avro/avro-consumer.py \
--host=${INTERNAL_BROKER_ENDPOINT} \
--registry=${CONFLUENT_REGISTRY} \
--topic=${TOPIC_GENERIC_AVRO}
avro-producer:
docker-compose run --rm kafka-clients \
python examples/avro/avro-producer.py \
--host=${INTERNAL_BROKER_ENDPOINT} \
--registry=${CONFLUENT_REGISTRY} \
--topic=${TOPIC_GENERIC_AVRO}