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

Improve EventHandler in AsyncProducer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.6
    • None
    • None

    Description

      There are a few issues with the current EventHandler.
      1. If an EventHandler is specified in a config file, the instantiator requires that the EventHandler has an empty constructor.
      2. Today, a user has to pass in the Encoder twice, once through the Producer and another through the EventHandler.
      3. The default EventHandler is not set (say, for events of String type).

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: