You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to create a topic with initial configuration (note that this is required in Confluent Cloud e.g. for Cleanup Policy), the Confluent Cloud Kafka Server directly terminates the connection after receiving the request. When I do not transmit any configEntries, the topic creation succeds.
The reason is that configEntries should have the type { name: string; value:string }[]. See https://kafka.js.org/docs/admin#create-topics. The Typescript types were just object[], which isn't very helpful.
#1309 adds validation for this and updates the types to be more useful.
Describe the bug
When trying to create a topic with initial configuration (note that this is required in Confluent Cloud e.g. for Cleanup Policy), the Confluent Cloud Kafka Server directly terminates the connection after receiving the request. When I do not transmit any
configEntries
, the topic creation succeds.To Reproduce
Test code:
Expected behavior
The topic is created with the desired initial configuration.
Observed behavior
The Confluent Cloud side terminates the connection directly, obviously due to some kind of very bad request:
Environment:
Additional context
Please note that creating a topic with initial configuration on that very cluster is possible
So it is most likely not an issue on Confluent Cloud side.
The text was updated successfully, but these errors were encountered: