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

Streams store cleanup: collapse layers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • streams
    • None

    Description

      Following on KAFKA-7916, we can consider collapsing the "streams management layers" into one.

      Right now, we have:

      • metering (also handles moving from pojo world to bytes world)
      • change-logging
      • caching

      This is good compositional style, but we also have some runtime overhead of calling through all these layers, as well as some mental overhead of understanding how many and which layers we are going through.

      Also, there are dependencies between the caching and change-logging layers.

      I think it would simplify the code if we collapsed these into one layer with boolean switches to turn on or off the different aspects. (rather than wrapping the store with the different layers or not depending on the same boolean conditions)

      Attachments

        Issue Links

          Activity

            People

              vvcephei John Roesler
              vvcephei John Roesler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: