I’m using a JDBC Source connector with a list of tables (table.whitelist).
Can i use the SMT RemplaceField to filter filters (whitelist or blacklist) with that list of tables ?
if so, what is the correct syntax ? Dot notation ?
transforms are done after the data has been marshaled into the Struct construct within Connect; I do not believe select field allows for including the sturcture name (usually what is mapped to the table) for the mapping.
What you can do is write a predicate to only apply transforms if a condition has been met.
if each table is going to a separate topic, you can use a predicate of ‘org.apache.kafka.connect.transforms.predicates.TopicNameMatches’ to identify if the correct topic is “table1” or “table2” (or whatever it is mapped to).