# Describe the sink a1.sinks.k1.type = logger # 配置k1的类型为logger,输出到控制台
# Use a channel which buffers events in memory a1.channels.c1.type = memory # 配置c1的类型为memory a1.channels.c1.capacity = 1000 # 配置c1的容量为1000个事件 a1.channels.c1.transactionCapacity = 100 # 配置c1的事务容量为100个事件
# Bind the source and sink to the channel a1.sources.r1.channels = c1 # 配置r1的channel属性,指定r1连接到那个channel a1.sinks.k1.channel = c1 # 配置k1的channel属性,指定k1连接到那个channel