siddhi-map-protobuf
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
- from here.
Latest API Docs
Latest API Docs is 1.1.1.
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 theclass
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 theclass
parameter.
Dependencies
Add following protobuf jar into {SIDDHI_HOME}/bundles * protobuf-java-3.9.1.jar
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.