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

Provide a default producer for receiving messages from STDIN

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.6
    • 0.7
    • None
    • None

    Description

      It would be useful to provide a default producer we can fire up that reads from STDIN and sends one message per line to the broker.

      The most obvious use case for this is to pipe a tail -f command into it, to tail log files as they're generated. Making it depend on STDIN seems more flexible than a producer that just tails files though.

      Attachments

        1. kafka-console-producer.patch
          7 kB
          Jay Kreps
        2. kafka-console-producer.patch
          7 kB
          Jay Kreps

        Activity

          People

            jkreps Jay Kreps
            felixgv Felix GV
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: