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

Kafka should not need snappy jar at runtime

    XMLWordPrintableJSON

Details

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

    Description

      CompressionFactory imports snappy jar in a pattern match. The purpose of importing it this way seems to be avoiding the import unless snappy compression is actually required. However, kafka throws a ClassNotFoundException if snappy jar is removed at runtime from lib_managed.

      This exception can be easily seen by producing some data with the console producer.

      Attachments

        Activity

          People

            Unassigned Unassigned
            swapnilghike Swapnil Ghike
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: