/siddhi-map-protobuf

Extension which is used to convert Protobuf message to/from Siddhi events

Primary LanguageJavaApache License 2.0Apache-2.0

siddhi-map-protobuf

Jenkins Build Status GitHub Release GitHub Release Date GitHub Open Issues GitHub Last Commit License

The siddhi-map-protobuf extension is an extension that converts Protobuf messages to/form Siddhi evnets.

For information on Siddhi and it's features refer Siddhi Documentation.

Download

Latest API Docs

Latest API Docs is 1.0.4.

Features

  • protobuf (Sink Mapper)

    This output mapper allows you to convert Events to protobuf messages before publishing them. To work with this mapper you have to add auto-generated protobuf classes to the project classpath. When you use this output mapper, you can either define stream attributes as the same names as the protobuf message attributes or you can use custom mapping to map stream definition attributes with the protobuf attributes. Please find the sample proto definition here. When you use this mapper with siddhi-io-grpc you don't have to provide the protobuf message class in the class parameter.

  • protobuf (Source Mapper)

    This input mapper allows you to convert protobuf messages into Events. To work with this input mapper you have to add auto-generated protobuf classes to the project classpath. When you use this input mapper, you can either define stream attributes as the same names as the protobuf message attributes or you can use custom mapping to map stream definition attributes with the protobuf attributes.Please find the sample proto definition here. When you use this mapper with siddhi-io-grpc you don't have to provide the protobuf message class in the class parameter.

Dependencies

Add following protobuf jar into {SIDDHI_HOME}/bundles

Installation

For installing this extension on various siddhi execution environments refer Siddhi documentation section on adding extensions.

Support and Contribution

  • We encourage users to ask questions and get support via StackOverflow, make sure to add the siddhi tag to the issue for better response.

  • If you find any issues related to the extension please report them on the issue tracker.

  • For production support and other contribution related information refer Siddhi Community documentation.