WSO2 Siddhi Store Mongodb Extension Parent

WSO2 is an open source application development software company focused on providing service-oriented architecture solutions for professional developers.

License

License

Categories

Categories

MongoDB Data Databases Siddhi Business Logic Libraries Machine Learning
GroupId

GroupId

org.wso2.extension.siddhi.store.mongodb
ArtifactId

ArtifactId

siddhi-store-mongodb-parent
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

zip
Description

Description

WSO2 Siddhi Store Mongodb Extension Parent
WSO2 is an open source application development software company focused on providing service-oriented architecture solutions for professional developers.
Project URL

Project URL

https://github.com/wso2-extensions/siddhi-store-mongodb
Project Organization

Project Organization

WSO2
Source Code Management

Source Code Management

https://github.com/wso2-extensions/siddhi-store-mongodb.git

Download siddhi-store-mongodb-parent

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Siddhi Store MongoDB

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

The siddhi-store-mongodb extension is an extension to Siddhi that persist and retrieve events to/from MongoDB

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

Download

  • Versions 2.x and above with group id io.siddhi.extension.* from here.
  • Versions 1.x and lower with group id org.wso2.extension.siddhi.* from here.

Latest API Docs

Latest API Docs is 2.1.2.

Features

  • mongodb (Store)

    Using this extension a MongoDB Event Table can be configured to persist events in a MongoDB of user's choice.

Dependencies

MongoDB connector jar and its dependencies should be added to the runtime (mongodb-java-driver-3.4.2, includes all the dependencies). For installing third party connectors on various Siddhi execution environments refer Siddhi documentation section on adding third party libraries.

Installation

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

Running Integration tests in docker containers(Optional)

The MongoDB functionality are tested with the docker base integration test framework. The test framework initializes the docker container according to the given profile before executing the test suite.

  1. Install and run docker in daemon mode.

    • Installing docker on Linux,
      Note:
      These commands retrieve content from get.docker.com web in a quiet output-document mode and install.Then we need to stop docker service as it needs to restart docker in daemon mode. After that, we need to export docker daemon host.

       wget -qO- https://get.docker.com/ | sh
       sudo service dockerd stop
       export DOCKER_HOST=tcp://172.17.0.1:4326
       docker daemon -H tcp://172.17.0.1:4326
      
    • On installing docker on Mac, see Get started with Docker for Mac

    • On installing docker on Windows, see Get started with Docker for Windows

  2. To run the integration tests, issue the following commands.

    • MongoDB 3.4 without SSL connection

        mvn verify -P mongod -Ddocker.removeVolumes=true
      
    • MongoDB 3.4 with SSL connection

        mvn verify -P mongod-ssl -Ddocker.removeVolumes=true
      
    • MongoDB 4.2 mvn verify -P mongod4 -Ddocker.removeVolumes=true

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.

org.wso2.extension.siddhi.store.mongodb

WSO2 Extensions

Versions

Version
2.0.0
1.1.0
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5