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

Dead code in the Log4j appender

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.7.1
    • core

    Description

      The log4j appender has the following class definition in it:

      class DefaultStringEncoder extends Encoder[LoggingEvent] {
      override def toMessage(event: LoggingEvent):Message = new Message(event.getMessage.asInstanceOf[String].getBytes)
      }

      This left over and no longer used. The current version uses kafka.serializer.StringEncoder as the default encoder.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joseq Jose Quinteiro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: