Support Questions

Find answers, ask questions, and share your expertise

Parsing incoming Json message coming from a NiFi Stream into Hbase table

New Contributor

Hi All,

I am getting a Stream of message from a Kafka Topic in NiFi which I am reading via a consumer process. Message is in the format of json (dummy json values, json format same as original one):


As u can see here actual table name is under Schema and column value is under payload. I am able to parse column values and put into Hbase table by using EvaluateJsonPath and PutHBaseJson processors in NiFi.


What I am able to achieve is manually putting table name and rowid. But my issue is I want to fetch tablename(in above example emp_table) and a rowid (in above example emp_id) from the json and at runtime provide those values to PutHbaseJson processor in NiFi.

Please help me in the above query. Thanks a lot



Hi @Apurw Srivastava,

table name is expression enabled, you can update attribute first and set the attribute with the desired table name. you can then reference the attribute as table name in the PutHbaseJson processor

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.