public class KinesisStreamLogbackAppenderV2 extends KinesisStreamAppenderBaseV2<ch.qos.logback.classic.spi.ILoggingEvent>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
KinesisStreamLogbackAppenderV2.RandomPartitionKey |
|
static class |
KinesisStreamLogbackAppenderV2.SinglePartitionKey |
AwsAppenderV2.AwsConfigKinesisStreamAppenderBaseV2.PartitionKey<E>config, credentials, credentialsProvideractive, createStreamDestination, encoder, kinesis, shardCount, streamName| Constructor | Description |
|---|---|
KinesisStreamLogbackAppenderV2() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
append(ch.qos.logback.classic.spi.ILoggingEvent eventObject) |
|
void |
setAwsConfig(AwsAppenderV2.AwsConfig config) |
|
void |
setCreateStreamDestination(boolean createStreamDestination) |
|
void |
setEmitInterval(long emitInterval) |
|
void |
setEncoder(ch.qos.logback.core.encoder.Encoder<ch.qos.logback.classic.spi.ILoggingEvent> encoder) |
|
void |
setPartitionKey(KinesisStreamAppenderBaseV2.PartitionKey<ch.qos.logback.classic.spi.ILoggingEvent> partitionKey) |
|
void |
setShardCount(int shardCount) |
|
void |
setStreamName(String streamName) |
|
void |
start() |
|
void |
stop() |
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextensureKinesisStreampublic void setAwsConfig(AwsAppenderV2.AwsConfig config)
public void setStreamName(String streamName)
public void setShardCount(int shardCount)
public void setCreateStreamDestination(boolean createStreamDestination)
public void setPartitionKey(KinesisStreamAppenderBaseV2.PartitionKey<ch.qos.logback.classic.spi.ILoggingEvent> partitionKey)
public void setEmitInterval(long emitInterval)
public void setEncoder(ch.qos.logback.core.encoder.Encoder<ch.qos.logback.classic.spi.ILoggingEvent> encoder)
public void start()
start in class KinesisStreamAppenderBaseV2<ch.qos.logback.classic.spi.ILoggingEvent>public void stop()
stop in class KinesisStreamAppenderBaseV2<ch.qos.logback.classic.spi.ILoggingEvent>protected void append(ch.qos.logback.classic.spi.ILoggingEvent eventObject)
append in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>Copyright © 2021. All rights reserved.