Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 1.65 KB

readme.md

File metadata and controls

58 lines (52 loc) · 1.65 KB

Creating a New Project

./gradlew init \
 --type java-application \
 --dsl groovy \
 --test-framework junit-jupiter \
 --project-name project_name \
 --package com.gelerion.kafak.streams

Running task from a subproject

./gradlew :subproject:task_name --info

Topics

State Management

  • Fault Tolerance
    • Changelog Topics. (state stores are backed by changelog topics)
    • Standby Replicas
  • Rebalancing
    • Preventing State Migration
      • Sticky Assignment (to help prevent stateful tasks from being reassigned, Kafka Streams uses a custom partition assignment strategy that attempts to reassign tasks to instances that previously owned the task)
      • Static Membership
    • Incremental Cooperative Rebalancing (>= 2.4)
  • Controlling State Size
    • Tombstones
    • Window retention
    • Aggressive topic compaction
    • Fixed-size LRU cache