Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add lpush and rpop conf #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions conf/example-LPushDrivenSink.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Sample agent setting.

agent.sources = netcat
agent.channels = memory
agent.sinks = redis

# Netcat Source
agent.sources.netcat.type = netcat
agent.sources.netcat.bind = 0.0.0.0
agent.sources.netcat.port = 9931

# Memory channel for sample
agent.channels.memory.type = memory
agent.channels.memory.capacity = 1000
agent.channels.memory.transactionCapacity = 100

# Redis Sink
agent.sinks.redis.type = com.chiwanpark.flume.plugins.RedisListDrivenSink
agent.sinks.redis.redisHost = localhost
agent.sinks.redis.redisPort = 6379
agent.sinks.redis.redisTimeout = 3000
agent.sinks.redis.messageCharset = utf-8
agent.sinks.redis.redisList = xkjcf

agent.sources.netcat.channels = memory
agent.sinks.redis.channel = memory

24 changes: 24 additions & 0 deletions conf/example-RPopDrivenSource.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Sample agent setting.

agent.sources = redis
agent.channels = memory
agent.sinks = logger

# Redis Subscription Source
agent.sources.redis.type = com.chiwanpark.flume.plugins.RedisListDrivenSource
agent.sources.redis.redisHost = localhost
agent.sources.redis.redisPort = 6379
agent.sources.redis.redisTimeout = 3000
agent.sources.redis.messageCharset = utf-8
agent.sources.redis.redisList = xkjcf

# Memory channel for sample
agent.channels.memory.type = memory
agent.channels.memory.capacity = 1000
agent.channels.memory.transactionCapacity = 100

agent.sinks.logger.type = logger

agent.sources.redis.channels = memory
agent.sinks.logger.channel = memory