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

KStreams Scala API: incorrect Javadocs and misleading parameter name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None

    Description

      The single parameter for function

      def transform[K1, V1](transformerSupplier: Transformer[K, V, (K1, V1)], stateStoreNames: String*): KStream[K1, V1]

      is a Transformer, not a TransformerSupplier.

      The parameter should be renamed and the javadocs should be updated, too.

      https://github.com/apache/kafka/blob/trunk/streams/streams-scala/src/main/scala/org/apache/kafka/streams/scala/kstream/KStream.scala

      Attachments

        Issue Links

          Activity

            People

              miguno Michael G. Noll
              miguno Michael G. Noll
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: