Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 575 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 575 Bytes

json-flume-hbase-sink

Java Serializer that implements HbaseEventSerializer. This can be used as a HBase sink to translate json objects into inputs for the HBase PUT commands

How to use it in Flume sink configuration

#sink configuration ingest_agent.sinks.hbase_sink.type=hbase ingest_agent.sinks.hbase_sink.table=hbase_events_table ingest_agent.sinks.hbase_sink.columnFamily=events ingest_agent.sinks.hbase_sink.serializer=com.kc.flume.hbase.sink.JsonHbaseEventSerializer ingest_agent.sinks.hbase_sink.channel = kchannel ingest_agent.sinks.hbase_sink.batchSize = 100