3

I created a KSQL stream based on schema-registry by following this post. The Kafka JDBC connector updates a latest schema in schema-registry. The new stream gets created with the latest schema, but existing stream sill in the oldest schema.

I don't know when the schema of the datasource gets changed. In this case, I am expecting KSQL to dynamically refresh its definition with the newest schema available in schema-registry.

Any idea? How to achieve this?

Achaius
  • 5,904
  • 21
  • 65
  • 122

1 Answers1

4

At the moment you have to manually drop and recreate a stream to pick up the new schema.

I've logged #2215 if you want to upvote/discuss desired behaviour there.

Robin Moffatt
  • 30,382
  • 3
  • 65
  • 92