Set Kafka Key Action
Set Kafka Key based on a specific incoming header value from the message body.
The headerName parameter allows you to specify which header value to set as Kafka Key.
Metadata
| Property |
Value |
| Type |
action |
| Group |
Actions |
| Namespace |
Kafka |
| Support Level |
Stable |
| Provider |
Apache Software Foundation |
Properties
| Name |
Type |
Required |
Default |
Description |
headerName |
string |
✓ |
|
The name of the header to set as Kafka Key |
forceHeaderDeletion |
boolean |
|
false |
If true, it will remove the header with name headerName from the Exchange after setting it as Kafka Key |
Dependencies