eosasia / nodeos_kinesis_plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EOSIO AWS Kinesis Plugin

EOSIO Kinesis Plugin

Requirements

install aws-sdk-cpp

#git clone https://github.com/aws/aws-sdk-cpp
#cd aws-sdk-cpp
#cmake .
#make
#sudo make install

Building the plugin [Install on your nodeos server]

#cd /usr/local/eos/plugins/
#git clone https://github.com/tokenbankteam/kinesis_plugin.git

edit /usr/local/eos/plugins/CMakeLists.txt:
#add_subdirectory(kinesis_plugin)

edit /usr/local/eos/programs/nodeos/CMakeLists.txt:
#target_link_libraries( nodeos PRIVATE -Wl,${whole_archive_flag} kinesis_plugin -Wl,${no_whole_archive_flag} )

How to setup on your nodeos

Enable this plugin using --plugin option to nodeos or in your config.ini. Use nodeos --help to see options used by this plugin.

Configuration

Add the following to config.ini to enable the plugin:

parmeters for kinesis_plugin
# --plugin eosio::kinesis_plugin
# --kafka-uri 192.168.31.225:9092
# --accept_trx_topic eos_accept_topic
# --applied_trx_topic eos_applied_topic
# --kafka-block-start 100
# --kafka-queue-size 5000

About

License:MIT License


Languages

Language:C++ 96.6%Language:CMake 3.4%