diff --git a/conf/example-LPushDrivenSink.properties b/conf/example-LPushDrivenSink.properties new file mode 100644 index 0000000..cfc792f --- /dev/null +++ b/conf/example-LPushDrivenSink.properties @@ -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 + diff --git a/conf/example-RPopDrivenSource.properties b/conf/example-RPopDrivenSource.properties new file mode 100644 index 0000000..0376abf --- /dev/null +++ b/conf/example-RPopDrivenSource.properties @@ -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 +