All notable changes to this project will be documented in this file.
- Fixed typos in logback warning messages emitted by
com.github.danielwegener.logback.kafka.KafkaAppenderConfig
(#28) - Switched default delivery strategy to
com.github.danielwegener.logback.kafka.delivery.AsynchronousDeliveryStrategy
as it is the more sensible default. - Make artifact osgi compatible (#40)
- Upgrade to logback 1.2.3. Removed
KafkaMessageEncoder
infrastructure in favor ofch.qos.logback.core.encoder.Encoder
(#51). - Upgrade to kafka 1.0.0 (which supports protocol negotiation for older broker versions). Add use the actual log event timestamp to the kafka record.
- Target partition can now be configured with a fixed number
- Deprecating
BlockingDeliveryStrategy
in favor ofAsynchronousDeliveryStrategy
RoundRobinKeyingStrategy
has been renamed toNoKeyKeyingStrategy.
- Semantic checking of
kafkaProducerValues
has been removed (in order to support multiple versions of kafka-clients). - Minimum Java version is 1.7
0.1.0 - 2016-02-07
- Class
com.github.danielwegener.logback.kafka.KafkaAppenderBase
has been inlined into theKafkaAppender
. - Class
com.github.danielwegener.logback.kafka.encoding.PatternLayoutKafkaMessageEncoder
has been renamed tocom.github.danielwegener.logback.kafka.encoding.LayoutKafkaMessageEncoder
(#9). To ease the migration, there is still a deprecated class aliasPatternLayoutKafkaMessageEncoder
. You should change your logback.xml toLayoutKafkaMessageEncoder
as soon as possible! KafkaAppender
,KeyingStrategy
andLayoutKafkaMessageEncoder
are now generic and can now be used with alternative logback implementations like logback-access (#16)!
0.0.5 - 2015-12-23
- Upgrade to kafka 0.9.0. This includes that Java 6 is no longer supported.
- Using of deprecated kafka configuration is reported as logback warning.
0.0.4 - 2015-11-28
- Missing config keys having a default value are reported as info rather as warning (from @soniro)
- Made producer lazy initialized to avoid warnings on logger startup (from @aerskine)
0.0.3 - 2015-08-20
- Upgrade to kafka 0.8.2.1
- Documentation for custom serializers
0.0.2 - 2015-03-12
- Fix deadlocks in AsyncProducer
- Mockito is now a test only dependency
- Handling of
BufferExhaustedExceptions
makingblock.on.buffer.full=false
usable - Suppress log events from
org.apache.kafka.*.
namespace
- Documentation for delivery strategies
0.0.1 - 2015-02-23
- initial release