Sidecar application used by Confluent for VS Code, as a local proxy for Confluent Cloud, Confluent Platform and local Kafka clusters, to help users build streaming applications.
Apache License 2.0
3
stars
3
forks
source link
Support all non-default subject name strategies in Internal Kafka REST Produce Records API #111
Currently, the Produce Record API in the sidecar only supports producing with the TopicNameStrategy for key/value schema subjects. The implementation assumes TopicNameStrategy for all requests and disallows passing anything but schema_version for specifying schema details (namely, schema_id, subject, subject_name_strategy, type and schema).
The Kafka REST OpenAPI supports passing the subject_name_strategy as part of the Produce Request payload. The sidecar implementation will need to be extended to respect this field that may be used by the extension to specify a non-default subject name strategy.
Currently, the Produce Record API in the sidecar only supports producing with the TopicNameStrategy for key/value schema subjects. The implementation assumes TopicNameStrategy for all requests and disallows passing anything but schema_version for specifying schema details (namely, schema_id, subject, subject_name_strategy, type and schema).
The Kafka REST OpenAPI supports passing the subject_name_strategy as part of the Produce Request payload. The sidecar implementation will need to be extended to respect this field that may be used by the extension to specify a non-default subject name strategy.