| Package | Description |
|---|---|
| com.github.danielwegener.logback.kafka | |
| com.github.danielwegener.logback.kafka.keying |
| Modifier and Type | Field and Description |
|---|---|
protected KeyingStrategy<? super E> |
KafkaAppenderConfig.keyingStrategy |
| Modifier and Type | Method and Description |
|---|---|
void |
KafkaAppenderConfig.setKeyingStrategy(KeyingStrategy<? super E> keyingStrategy) |
| Modifier and Type | Class and Description |
|---|---|
class |
ContextNameKeyingStrategy
This strategy uses logbacks CONTEXT_NAME to partition the log messages to kafka.
|
class |
HostNameKeyingStrategy
This strategy uses the HOSTNAME to partition the log messages to kafka.
|
class |
LoggerNameKeyingStrategy
This strategy uses the logger name as partitioning key.
|
class |
RoundRobinKeyingStrategy
Evenly distributes all written log messages over all available kafka partitions.
|
class |
ThreadNameKeyingStrategy
This strategy uses the calling threads name as partitioning key.
|
Copyright © 2015–2016. All rights reserved.