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

Scala streams API should use Options in left and outer joins

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.1, 2.1.0
    • None
    • streams

    Description

      The Scala streams DSL for left and outer joins should use Options instead of possibly-null parameters to the joiner functions. As currently written, implementers of joiners for Kafka Streams must account for the right side of a left join (or either side of an outer join) being null, which is not idiomatic Scala.

      Note to reviewer: I would like to contribute this change myself. What is the policy on breaking API changes? Would it be acceptable to change the left/outer join APIs to accept options? Or would I need to implement parallel versions (naming suggestions if so?).

      Attachments

        Activity

          People

            Unassigned Unassigned
            ccrain_kuka Charles Crain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: