kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Quinteiro (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-303) Dead code in the Log4j appender
Date Wed, 14 Mar 2012 17:56:40 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jose Quinteiro updated KAFKA-303:
---------------------------------

    Status: Patch Available  (was: Open)
    
> Dead code in the Log4j appender
> -------------------------------
>
>                 Key: KAFKA-303
>                 URL: https://issues.apache.org/jira/browse/KAFKA-303
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jose Quinteiro
>            Priority: Trivial
>              Labels: log4j
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message