Schema-registry: Avro Console producer hardcodes subject name strategy

Created on 27 Sep 2018  路  3Comments  路  Source: confluentinc/schema-registry

Setting RecordNameStrategy does not work from kafka-avro-console-producer:

kafka-avro-console-producer --broker-list localhost:9092 --topic topic1 --property value.schema='{"type":"record","name":"schema1","fields":[{"name":"f1","type":"string"}]}' --property value.subject.name.strategy=io.confluent.kafka.serializers.subject.RecordNameStrategy

Expectation: subject called schema-value

Result: subject called topic1-value (FAIL)

bug enhancement

Most helpful comment

This is a pretty big issue for development. Any idea if this can be implemented?

All 3 comments

This is a pretty big issue for development. Any idea if this can be implemented?

+1

+1

Was this page helpful?
0 / 5 - 0 ratings