Saved Bookmarks
| 1. |
How Do You Define A Partitioning Key? |
|
Answer» WITHIN the Producer, the ROLE of a Partitioning Key is to indicate the destination partition of the message. By default, a hashing-based Partitioner is used to DETERMINE the partition ID GIVEN the key. Alternatively, users can also USE customized Partitions. Within the Producer, the role of a Partitioning Key is to indicate the destination partition of the message. By default, a hashing-based Partitioner is used to determine the partition ID given the key. Alternatively, users can also use customized Partitions. |
|