1100. Join Basic - dkkahm/study-kafka-with-spring GitHub Wiki
μ μ½ μ‘°κ±΄
- KStreamμ μ μ½ μμΌλ©΄, Data μ
λ ₯λ λλ§λ€ νμ¬ κ°μ§κ³ μλ λͺ¨λ Data κ²μμ΄ λ°μνλ―λ‘ Window μ μ½μ΄ λ°λμ νμν¨
- λν Co-Partitioning (λ topic μ partition κ°μκ° κ°μ) μ μ½μ΄ μꡬλλ κ²½μ°λ μμΌλ―λ‘ νμΈ νμ
Join Event λ°μ μμ
- Inner Join
- λ topic λͺ¨λμμ κ°μ Keyλ₯Ό κ°μ§ κ°μ΄ λ€μ΄μ¨ μμ
- Left Join
- Primary topicμμλ§ κ°μ΄ λ°μμ (Left, null) λ°μ
- Primary topicμμ κ°μ΄ λ°μνκ³ , μ‘°κΈ ν Secondary topic μμ κ°μ Keyλ₯Ό κ°μ§ κ°μ΄ λ°μ μ (Left, Right) λ°μ
- Secondary topicμμ κ°μ΄ λ°μνκ³ , μ‘°κΈ ν Primary topicμμ κ°μ΄ λ°μμ (Left, Right)
- Outer Join
- Primary μμλ§ κ°μ΄ λ°μ μ (Left, null)
- Secondary μμλ§ κ°μ΄ λ°μ μ (null, Right)
- Primary νΉμ Secondary μμ κ° λ°μμ, λμΌν Keyμ ν΄λΉνλ κ°μ΄ μλ topicμμ μ΄λ―Έ λ°μν κ²½μ° (Left, Right)