[MXS-1114] cdc_kafka_producer.py: Track last record delivered to consumer Created: 2017-01-31 Updated: 2019-05-28 Resolved: 2019-05-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | avrorouter |
| Affects Version/s: | 2.0.3 |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
When a Kafka consumer is restarted, a common problem that occurs is that the Kafka producer re-sends records that the consumer had already received before the restart. One way to prevent this problem is to design the Kafka producer to keep track of the last record delivered to the consumer, so that if the consumer is restarted, the producer does not send that record again. Some users would like cdc_kafka_producer.py to have a mechanism like this. |