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

Console producer using new producer should set timestamp

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: None
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      kafka.tools.ConsoleProducer's default usage of the new producer does not explicitly set the timestamp, and hence for default timestamp type settings (CreationTime) the returned timestamp from broker would be set to -1.

      We need to consider whether or not it makes sense to set the timestamp in console producer.

        Attachments

          Activity

            People

            • Assignee:
              guozhang Guozhang Wang
              Reporter:
              guozhang Guozhang Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: