4 ms·
> and attach model data Can you elaborate on this? Do you mean enriching events and/or windowing/aggregating/summarizing? Are you using KSQL?
by chrisjc 7y ago
> and attach model data
Can you elaborate on this? Do you mean enriching events and/or windowing/aggregating/summarizing?
Are you using KSQL?
- EdwardDiego 7y agoYeah, enriching the events as they pass through - so we have a Kafka Connect JDBC source polling the source of truth DB every X seconds for model changes (we looked into Debezium for streaming model changes, but the additional complexity didn't bring us much benefit based on how often our model changes), and then we pull that into a GlobalKTable and join the KStream as appropriate. We also use Kafka streaming with a persisted event window store to deduplicate across a window of 2 hours.
- chrisjc 7y agoMind if I ask you what you used to capture source changes if Debezium didn't work out for you? Is there a specific Kafka Connector for JDBC that you're using?
- EdwardDiego 7y agoNope, just the JDBC Connector configured for Postgres. It wasn't that Debezium didn't work out of us, more that it brought in more complexity (e.g., https://debezium.io/documentation/reference/1.0/postgres-plugins.html https://debezium.io/documentation/reference/1.0/postgres-plu...) than the payoff justified. If we had a need for near instantaenous model updates, then I'd definitely go Debezium. We didn't use it because we didn't need it - a generic KC JDBC source with a poll period of 5 seconds met our needs.s