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

Support left stream-table join on foreign key

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • streams

    Description

      KIP-955: https://cwiki.apache.org/confluence/display/KAFKA/KIP-955%3A+Add+stream-table+join+on+foreign+key

      Currently in Kafka Streams DSL, KStream to KTable joins could only be performed with the keys. However in practice it is often required to join the messages in Kafka topics using message field as a "foreign key" with the following pattern:  

       
      streamX.leftJoin(tableY, RecordTableY::getForegnKey, joiner).to("output-topic-name")
       
      The left loin on foreign key operation will result in a stream of messages from two topics joined on foreign key where 0 or more output message is produced for each event on the input stream.

      Attachments

        Activity

          People

            igorf211 Igor Fomenko
            igorf211 Igor Fomenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 672h
                672h
                Remaining:
                Remaining Estimate - 672h
                672h
                Logged:
                Time Spent - Not Specified
                Not Specified