#source interceptor agent1.sources.avro-source.interceptors=i1 agent1.sources.avro-source.interceptors.i1.type=regex_extractor agent1.sources.avro-source.interceptors.i1.regex=topic:(.*?) contents:(.*?) agent1.sources.avro-source.interceptors.i1.serializers=s1 s2 #agent1.sources.avro-source.interceptors.i1.serializers.s1.type=default agent1.sources.avro-source.interceptors.i1.serializers.s1.name=topic #agent1.sources.avro-source.interceptors.i1.serializers.s2.type=default agent1.sources.avro-source.interceptors.i1.serializers.s2.name=contents
#define sink agent1.sinks.kafka-sink.type=org.apache.flume.sink.kafka.KafkaSink agent1.sinks.kafka-sink.topic = %{topic}
|