aashikam / module-ballerinax-stan

Ballerina NATS Streaming Module.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ballerina NATS Streaming Library

Build GitHub Last Commit License

The stan library is one of the standard library modules of the Ballerina language.

  • Point to point communication (Queues)
  • Pub/Sub (Topics)
  • Request/Reply

Issues and Projects

Issues and Projects tabs are disabled for this repository as this is part of the Ballerina Standard Library. To report bugs, request new features, start new discussions, view project boards, etc. please visit Ballerina Standard Library parent repository.

This repository only contains the source code for the module.

Building from the Source

Setting Up the Prerequisites

  • Download and install Java SE Development Kit (JDK) version 11 (from one of the following locations).

    • Oracle

    • OpenJDK

      Note: Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.

  1. Download and install Docker as follows. (The stan library is tested with a docker-based integration test environment. The before suite initializes the docker container before executing the tests).

    • Installing Docker on Linux

      Note: These commands retrieve content from the get.docker.com website in a quiet output-document mode and installs it.

       wget -qO- https://get.docker.com/ | sh
      
    • For instructions on installing Docker on Mac, go to Get Started with Docker for Mac.

    • For information on installing Docker on Windows, goo to Get Started with Docker for Windows.

Building the Source

Execute the commands below to build from source.

  1. To build the library:

     ./gradlew clean build
    
  2. To debug the tests:

     ./gradlew clean build -Pdebug=<port>
    
  3. To build the module without the tests:

     ./gradlew clean build -x test
    

Contributing to Ballerina

As an open source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of Conduct

All contributors are encouraged to read the Ballerina Code of Conduct.

Useful Links

About

Ballerina NATS Streaming Module.

License:Apache License 2.0


Languages

Language:Java 81.5%Language:Ballerina 18.5%