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

Support more flexible serialization in Log4jAppender

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • logging
    • None

    Description

      It would be nice to allow subclasses of the standard KafkfaLog4jAppender to be able to serialize the LoggingEvent however they chose, rather than always having to write out a string.

      A possible use case - the one I'm interested in - allows implementors to convert the event to any sort of bytes. This means downstream consumers don't lose data based on the logging format, but instead can get the entire event to do with as they please

      Attachments

        1. kafka-1967-trunk.patch
          1 kB
          Jesse Yates

        Activity

          People

            Unassigned Unassigned
            jesse_yates Jesse Yates
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: