Skip to content

shafanaS/siddhi-map-avro-1

 
 

Repository files navigation

siddhi-map-avro

The siddhi-map-avro extension is an extension to Siddhi which is used to convert Avro message to/from Siddhi events.

Find some useful links below:

Latest API Docs

Latest API Docs is 1.0.7.

How to use

Using the extension in WSO2 Stream Processor

  • You can use this extension in the latest WSO2 Stream Processor that is a part of WSO2 Analytics offering, with editor, debugger and simulation support.

  • This extension is shipped by default with WSO2 Stream Processor, if you wish to use an alternative version of this extension you can replace the component jar that can be found in the <STREAM_PROCESSOR_HOME>/lib directory.

Using the extension as a java library

  • This extension can be added as a maven dependency along with other Siddhi dependencies to your project.
     <dependency>
        <groupId>org.wso2.extension.siddhi.map.avro</groupId>
        <artifactId>siddhi-map-avro</artifactId>
        <version>x.x.x</version>
     </dependency>

Jenkins Build Status


Branch Build Status
master Build Status

Features

  • avro (Sink Mapper)

    This extension is a Siddhi Event to Avro Message output mapper.Transports that publish messages to Avro sink can utilize this extension to convert Siddhi events to Avro messages.
     You can either specify the Avro schema or provide the schema registry URL and the schema reference ID as parameters in the stream definition.
    If no Avro schema is specified, a flat Avro schema of the 'record' type is generated with the stream attributes as schema fields.

  • avro (Source Mapper)

    This extension is an Avro to Event input mapper. Transports that accept Avro messages can utilize this extension to convert the incoming Avro messages to Siddhi events.
     The Avro schema to be used for creating Avro messages can be specified as a parameter in the stream definition.
     If no Avro schema is specified, a flat avro schema of the 'record' type is generated with the stream attributes as schema fields.
    The generated/specified Avro schema is used to convert Avro messages to Siddhi events.

How to Contribute

Contact us

Support

  • We are committed to ensuring support for this extension in production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.

  • For more details and to take advantage of this unique opportunity contact us via http://wso2.com/support/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%