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

KStreams Scala API: incorrect Javadocs and misleading parameter name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: