graphql-kafka-subscriptions icon indicating copy to clipboard operation
graphql-kafka-subscriptions copied to clipboard

fix: allow auto creation of topics

Open craicoverflow opened this issue 4 years ago • 1 comments

Currently this engine throws an error if a topic does not exist. This happens within the PubSub library on user application, not in Kafka server).

It is possible to configure topic auto-creation in Kafka with the auto.topic.create.enable flag. However because the validation was happening from this library, it was rejected too early and was never able to be created. This does not respect the Kafka server configuration.

It is much simpler and better to let the Kafka server handle this validation.

craicoverflow avatar Oct 08 '20 14:10 craicoverflow

@ancashoria Could you please merge this PR?

nick4fake avatar May 01 '21 20:05 nick4fake