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

It should be possible to re-create KafkaStreams after an exception, without recreating ConsumerConnector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Auto Closed
    • 0.8.0
    • None
    • None
    • None

    Description

      This issue came out of a discussion on the user mailing list (not something I experienced directly).

      Bob Cotton reported:
      "During the implementation of a custom Encoder/Decoder we noticed that
      should the Decoder throw an exception, the KafkaStream that it is in use
      becomes invalid.

      Searching the mailing list indicates that the only way to recover from an
      invalid stream is to shutdown the whole high-level consumer and restart.

      Is there a better way to recover from this?

      Thanks for the responsiveness on the mailing list."

      ......

      And then Neha responded:

      "This is a bug. Ideally, we should allow restarting the consumer
      streams when they encounter an error.
      Can you file a JIRA ?

      Thanks,
      Neha"

      Jason

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbrosenberg Jason Rosenberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: