Skip to content
Snippets Groups Projects
Commit 539ce491 authored by Seok Won's avatar Seok Won
Browse files

Create Producer using key

At line 34, we added key parameter.

Whenever we use same key when sending a data, same key always use same partition.

i.e)
i = 0, key = "truck_1" -> partition_0
i = 1, key = "truck_1" -> partition_0
...
parent a624b66d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment