Kafka
  1. Kafka
  2. KAFKA-909

Provide support in the producer to specify a stateful instance of an Encoder, like the consuemr allows with the Decoder

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.2.0
    • Component/s: producer
    • Labels:
    • Environment:
      Kafka 0.8, jdk 6

      Description

      It is very useful to have a shared instance of the Encoder, to do advanced encoding. The consumer allows the ability to set the Decoder instance and achieve this capability. The producer should offer the same capability.

        Activity

        Hide
        Jay Kreps added a comment -

        This is available in the new producer.

        Show
        Jay Kreps added a comment - This is available in the new producer.

          People

          • Assignee:
            Jun Rao
            Reporter:
            Rob Withers
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development