Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16396

Producer use the same Key(string) result in multiple paritition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.5.0
    • None
    • clients
    • None

    Description

      In orede to make  record  in order,we use the same key:event#Collector-2021-01-01-001#Probe-0001#1067267613#1002。In some situation(maybe the Kafka service has been restarted during producing), we find the same key records sent to  partition 0 and 4. 

      offset: 7422, key: event#Collector-2021-01-01-001#Probe-0001#1067267613#1002, partition: 0, topic: IES.tunnel.event.1002, timestamp: 1710483530474

      offset: 7433, key: event#Collector-2021-01-01-001#Probe-0001#1067267613#1002, partition: 4, topic: IES.tunnel.event.1002, timestamp: 1710483516370

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            polaris.alioth ZhenChun Pan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: