February 2019
Beginner to intermediate
544 pages
14h 36m
English
Most applications do require a unique key to deal with events ingested by Flume sinks. UUID interceptor can be used to generate a unique identifier key for each event generated by Flume source. The following is a sample template that can be used for UUID interceptor:
agent.sources.testsource.interceptors = uuidInterceptoragent.sources.testsource.interceptors.uuidInterceptor.type = \org.Apache.flume.sink.solr.morphline.UUIDInterceptor$Builderagent.sources.testsource.interceptors.uuidInterceptor.headerName = uuidagent.sources.testsource.interceptors.uuidInterceptor.prefix = test-
Read now
Unlock full access