A producer can name a partition explicitly instead of asking the partitioner to select one from the key. That is useful for a controlled repair or a test with a known partition. It is also easy to misuse. Sending the same business key to another explicit partition can break the per-key ordering that normal routing would preserve. Partition IDs begin at zero, and the chosen partition must exist. These tasks provide the repair target, key and value. Publish exactly that record, then inspect the specified partition log. Do not assume that a successful send to any partition meets the request. A record in the wrong log can still be valid Kafka data.
Inspect the topics, partition logs and group offsets before changing the cluster.