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

StreamsConfig throws ClassCastException if max.in.flight.request.per.connect is specified as String

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.2.0, 2.1.1, 2.0.2
    • Component/s: streams
    • Labels:
      None

      Description

      Setting 

      props.put(StreamsConfig.PROCESSING_GUARANTEE_CONFIG, EXACTLY_ONCE);
      props.put(ProducerConfig.MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION, "3");

      results in

      java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integerat org.apache.kafka.streams.StreamsConfig.checkIfUnexpectedUserSpecifiedConsumerConfig(StreamsConfig.java:875)
      {{ at org.apache.kafka.streams.StreamsConfig.getProducerConfigs(StreamsConfig.java:1071)}}

       

        Attachments

          Activity

            People

            • Assignee:
              mjsax Matthias J. Sax
              Reporter:
              mjsax Matthias J. Sax

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment