Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2826

KafkaSpoutConfig.builder doesn't set key/value deserializer properties in storm-kafka-client

    Details

      Description

      STORM-2548 replaced the KafkaSpoutConfig.builder() implementations with ones that don't set the key/value deserializer fields in KafkaSpoutConfig, but instead just sets the corresponding property in the kafkaProps map. This is a breaking change for applications that assume those properties are set after the builder is created.

      Code like the following would break.

      this.keyDeserializer = config.getKeyDeserializer().getClass();
      this.valueDeserializer = config.getValueDeserializer().getClass();

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Srdo Stig Rohde Døssing
                Reporter:
                Srdo Stig Rohde Døssing
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 10m
                  3h 10m