public interface TopicSelector
table ids used by the Postgres connector to determine
which Kafka topics contain which messages| Modifier and Type | Method and Description |
|---|---|
String |
topicNameFor(TableId tableId)
Returns the name of the Kafka topic for a given table identifier
|
static TopicSelector |
topicPerSchema(String prefix)
Generates a topic name for each table, based on the table schema and a prefix
|
static TopicSelector |
topicPerTable(String prefix)
Generates a topic name for each table, based on the table schema, table name and a prefix
|
static TopicSelector topicPerTable(String prefix)
prefix - a prefix which will be prepended to the topic nameTopicSelector instance, never nullstatic TopicSelector topicPerSchema(String prefix)
prefix - a prefix which will be prepended to the topic nameTopicSelector instance, never nullCopyright © 2017 JBoss by Red Hat. All rights reserved.