Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-388

Log compaction on checkpoint topics fails with compression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • kafka
    • None

    Description

      I have a job that has 10,000+ partitions that it's consuming from. After SAMZA-123, it's been switched to use the GroupBySystemStreamPartition strategy, which means it's got 10,000+ tasks, and thus, 10,000+ checkpoint messages being sent every minute.

      To keep the checkpoint topic from getting too large, we enabled log compaction on the Kafka topic, but we discovered that the topic then grew to be very large. This behavior was triggered because we were sending compressed messages to the Kafka checkpoint topic.

      Based on KAFKA-1374, it appears that we can't use compressed checkpoint topics with log compaction.

      I'm mostly opening this ticket as a place holder for KAFKA-1374. Once the ticket is resolved, we can update the Samza code to default the checkpoint topics to be log compacted (with a small segment size), and not worry about the compression anymore.

      Attachments

        1. SAMZA-388-0.patch
          9 kB
          Chris Riccomini
        2. SAMZA-388-1.patch
          9 kB
          Chris Riccomini

        Issue Links

          Activity

            People

              criccomini Chris Riccomini
              criccomini Chris Riccomini
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: