英文:
When does schema registry remove the schemas which are auto registered
问题
当客户端生产者启用了auto.register.schemas = true
时,在开发环境中出现了一种情况。这在一段时间内运行良好,但在某个时刻,模式注册表会将其删除(我正在使用托管在Confluent中的Kafka),之后所有的消息都会失败。我追踪到了模式注册表何时会删除客户端生产者自动注册的模式。
模式注册表何时会删除客户端生产者自动注册的模式?
英文:
I have situation in my development environment where my client has auto.register.schemas = true. This works fine for a while, but at some point the schema registry removes it ( i am using kafka hosted in confluent) and all my messages fails which are after that. I tracked it down to when the schema registry gets rid of my auto registered schema.
When do schema registry remove the auto registered schema by a client producer?
答案1
得分: 0
与任何Kafka主题一样,除非模式主题是使用cleanup.policy=delete
(或compact,delete
)创建的,否则不应该这样做。该主题应该具有紧凑的策略,因此将数据保留永久。
英文:
As with any Kafka topic, it should never do that unless the schemas topic was created with cleanup.policy=delete
(or compact,delete
). The topic should have compact policy, therefore keep data forever.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论