GithubHelp home page GithubHelp logo

tp-lab / kafka_plugin Goto Github PK

View Code? Open in Web Editor NEW
61.0 11.0 52.0 100 KB

EOSIO Kafka Plugin is used for building real-time data pipelines and streaming apps. This plugin allows you to utilize all of Kafka’s rich real-time features utilizing the EOS blockchain.

Home Page: https://www.tokenpocket.pro

License: MIT License

CMake 1.47% C++ 98.53%
kafka-plugin eosio

kafka_plugin's People

Contributors

anyshy avatar chendatony31 avatar fire520 avatar heipacker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kafka_plugin's Issues

Support eos 1.8?

this plugin is support eos 1.8? i'm build have some question. i view the eos code, is have changed.

你好,请问支持eos Leap 3.1吗?

你好,在 Leap 3.1编译kafka插件的时候有如下报错:

/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:75:13: error: no template named 'optional' in namespace 'fc'
fc::optionalboost::signals2::scoped_connection accepted_block_connection;
~~~~^
/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:76:13: error: no template named 'optional' in namespace 'fc'
fc::optionalboost::signals2::scoped_connection irreversible_block_connection;
~~~~^
/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:77:13: error: no template named 'optional' in namespace 'fc'
fc::optionalboost::signals2::scoped_connection accepted_transaction_connection;
~~~~^
/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:78:13: error: no template named 'optional' in namespace 'fc'
fc::optionalboost::signals2::scoped_connection applied_transaction_connection;
~~~~^
/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:94:17: error: no template named 'optional' in namespace 'fc'
fc::optionalchain::transaction_receipt_header receipt;
~~~~^
/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:162:13: error: no template named 'optional' in namespace 'fc'
fc::optionalchain::chain_id_type chain_id;
~~~~^
/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:554:34: error: use of undeclared identifier 'transfer'
if (at.act.name != N(transfer) || at.receiver != at.act.account || at.receiver == N(eidosonecoin) || at.receiver == N(eosiopowcoin))
^
/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:554:97: error: use of undeclared identifier 'eidosonecoin'
if (at.act.name != N(transfer) || at.receiver != at.act.account || at.receiver == N(eidosonecoin) || at.receiver == N(eosiopowcoin))
^
/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:554:131: error: use of undeclared identifier 'eosiopowcoin'
if (at.act.name != N(transfer) || at.receiver != at.act.account || at.receiver == N(eidosonecoin) || at.receiver == N(eosiopowcoin))

/data/eos3.1_source_with_kafka/build/boost_1_70_0/bin/include/boost/function/function_template.hpp:158:33: error: no matching function for call to object of type '(lambda at /data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25)' BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS)); ^~~~/data/eos3.1_source_with_kafka/build/boost_1_70_0/bin/include/boost/function/function_template.hpp:80:36: note: expanded from macro 'BOOST_FUNCTION_RETURN'

define BOOST_FUNCTION_RETURN(X) X

                               ^

/data/eos3.1_source_with_kafka/build/boost_1_70_0/bin/include/boost/function/function_template.hpp:931:53: note: in instantiation of member function 'boost::detail::function::void_function_obj_invoker1<(lambda at /data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25), void, std::__1::tuple<const std::__1::shared_ptreosio::chain::transaction_trace &, const std::__1::shared_ptr &>>::invoke' requested here { { &manager_type::manage }, &invoker_type::invoke };
^
/data/eos3.1_source_with_kafka/build/boost_1_70_0/bin/include/boost/function/function_template.hpp:720:13: note: in instantiation of function template specialization 'boost::function1<void, std::__1::tuple<const std::__1::shared_ptreosio::chain::transaction_trace &, const std::__1::shared_ptr &>>::assign_to<(lambda at /data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25)>' requested here
this->assign_to(f); ^/data/eos3.1_source_with_kafka/build/boost_1_70_0/bin/include/boost/function/function_template.hpp:1068:5: note: in instantiation of function template specialization 'boost::function1<void, std::__1::tuple<const std::__1::shared_ptreosio::chain::transaction_trace &, const std::__1::shared_ptr &>>::function1<(lambda at /data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25)>' requested here
base_type(f)
^
/data/eos3.1_source_with_kafka/build/boost_1_70_0/bin/include/boost/function/function_template.hpp:1121:5: note: in instantiation of function template specialization 'boost::function<void (std::__1::tuple<const std::__1::shared_ptreosio::chain::transaction_trace &, const std::__1::shared_ptr &>)>::function<(lambda at /data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25)>' requested here self_type(f).swap(*this); ^/data/eos3.1_source_with_kafka/build/boost_1_70_0/bin/include/boost/signals2/detail/slot_template.hpp:160:24: note: in instantiation of function template specialization 'boost::function<void (std::__1::tuple<const std::__1::shared_ptreosio::chain::transaction_trace &, const std::__1::shared_ptr &>)>::operator=<(lambda at /data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25)>' requested here
_slot_function = detail::get_invocable_slot(f, detail::tag_type(f));
^
/data/eos3.1_source_with_kafka/build/boost_1_70_0/bin/include/boost/signals2/detail/slot_template.hpp:85:9: note: in instantiation of function template specialization 'boost::signals2::slot<void (std::__1::tuple<const std::__1::shared_ptreosio::chain::transaction_trace &, const std::__1::shared_ptr &>), boost::function<void (std::__1::tuple<const std::__1::shared_ptreosio::chain::transaction_trace &, const std::__1::shared_ptr &>)>>::init_slot_function<(lambda at /data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25)>' requested here init_slot_function(f); ^/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25: note: in instantiation of function template specialization 'boost::signals2::slot<void (std::__1::tuple<const std::__1::shared_ptreosio::chain::transaction_trace &, const std::__1::shared_ptr &>), boost::function<void (std::__1::tuple<const std::__1::shared_ptreosio::chain::transaction_trace &, const std::__1::shared_ptr &>)>>::slot<(lambda at /data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25)>' requested here
[&](std::tuple<const chain::transaction_trace_ptr &, const chain::signed_transaction &> t) { ^/data/eos3.1_source_with_kafka/src/leap/plugins/kafka_plugin/kafka_plugin.cpp:711:25: note: candidate function not viable: no known conversion from 'tuple<[...], const std::__1::shared_ptr &>' to 'tuple<[...], const chain::signed_transaction &>' for 1st argument
10 errors generated.make[2]: *** [plugins/kafka_plugin/CMakeFiles/kafka_plugin.dir/build.make:76: plugins/kafka_plugin/CMakeFiles/kafka_plugin.dir/kafka_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5385: plugins/kafka_plugin/CMakeFiles/kafka_plugin.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.