Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

Does PWX Publisher contain the functionality to assign a key to the message produced?
Answer
Yes, following attribute can be added in the cdcPublisherKafka.cfg configuration file

Connector.kafkaMessageKey
Identifies the key value to include in the messages that the CDC Publisher producer delivers to the target messaging system. You can specify a key value or use the source table name as the key value. 

Valid values are:

•string. Specify a character string to use as the message key in all messages. The messages will be sent to the same partitions in the target topics.

•USE_TABLE_NAME. Use the source table name as the message key in all messages. Messages for a specific source table will be sent to the same partitions in the target topics.

More Information

Applies To
Product: PowerExchange
Problem Type: Configuration
User Type: Developer
Project Phase: Configure
Product Version:
Database: Kafka
Operating System:
Other Software:

Reference

Attachments

Last Modified Date:9/20/2019 9:28 AMID:528202
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)