Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to increment row Identifier Automatically?


How to increment row Identifier Automatically?



I am learning how to use nifi. i pass a string from HTTP postand then move it to kafka topic and i want it push it into hbase using nifi. While usign PutHbaseJson it asks for row identifier, but my kafka message is only a string. how can i auto increment the row id and store the string messages? 

If anyone knows a better way of sending simple string messages from kafka to hbase using nifi please suggest.

I have attached the snap of simple nifi processors i m using for this.  

And can someone guide me that what and how should i enter values in properties so i can save String message to hbase.

Thank you in Advance. 

Screenshot from 2020-04-21 00-12-27.png



Screenshot from 2020-04-21 00-14-32.png 

Don't have an account?
Coming from Hortonworks? Activate your account here