vlab-research / botscribe

Stores messages in DB
0 stars 0 forks source link

Init and framework #1

Open nandanrao opened 5 years ago

nandanrao commented 5 years ago

Should basically just:

kafka = setup kafka

stream.on('data', msg => db.put(msg.key.toString(), msg.value.toString()))

For generic db.put(k,v) >> which should push to list with key k or add to table a k,v pair.

db is the implemented by chatbase wrappers