Skip to content

consumoor: add disabledTables config to skip output tables#824

Open
samcm wants to merge 2 commits into
masterfrom
consumoor/disabled-tables
Open

consumoor: add disabledTables config to skip output tables#824
samcm wants to merge 2 commits into
masterfrom
consumoor/disabled-tables

Conversation

@samcm
Copy link
Copy Markdown
Member

@samcm samcm commented May 12, 2026

Adds disabledTables to the consumoor config so an output table can be turned off without code changes (e.g. libp2p_peer). Routes targeting a disabled table are skipped in both the router and writer; events whose every route lands in a disabled table are dropped (StatusDelivered) so Kafka offsets advance instead of redelivering forever. The same drop-vs-NAK fix applies to disabledEvents, which previously caused infinite redelivery when used on events outside the intentionallyUnsupportedEvents set.

samcm added 2 commits May 12, 2026 16:24
Routes whose target table appears in disabledTables are not registered
with the router or the writer. Events whose every route targets a
disabled table are dropped (StatusDelivered) instead of NAK'd so Kafka
offsets advance. Unknown table names fail validation at startup.

The same drop-vs-NAK fix applies to disabledEvents — previously
disabling an event that wasn't intentionally unsupported caused
infinite Kafka redelivery.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant