Coder Social home page Coder Social logo

testinggospels / jms-service Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 165 KB

JMS Service is a utility for testing JMS based backends by simply using HTTP Endpoints. Currently supported backends are Kafka and RabbitMQ

Home Page: https://github.com/testinggospels/jms-service/wiki

License: MIT License

Java 99.42% Dockerfile 0.58%
performance-testing functional-testing kafka-testing kafka kafka-producer spring-boot spring-kafka spring-kafka-test

jms-service's Introduction

kafka-service

License: MIT

Spring Boot Application for your Kafka testing needs.

Requirements

For building and running the application you need:

Documentation

https://github.com/fauxauldrich/kafka-service/wiki

Running the application locally

Run as a Docker container

Fastest way to get started is by using the image available on Docker Hub:

  • Use the docker-compose.yml to bring up your container. (Modify docker-compose.yml to reflect the dir path for your truststore files under volumes and update environment variables accordingly)
  • Or alternatively, to build image locally use Dockerfile provided.
    • Build with : docker build -t kafka-service:${VERSION} .
    • Run as a container using:
     docker run -d -env spring.kafka.bootstrap-servers=127.0.0.1:9092 -env kafkaservice.truststore.location=/app/certs/truststore.jks -env kafkaservice.truststore.password=Password@123 --name kafka-service -p 8080:8080 -v /dir/containing/truststore.jks/files:/app/certs kafka-service:${VERSION}```

Run from your IDE

  • Execute the main method in the com.fauxauldrich.kafkaservice.KafkaServiceApplication class from your IDE.
  • Or you can use the Spring Boot Maven plugin like so:
    mvn spring-boot:run

Run as a JAR

  • You can also download the JAR file from Releases and run it locally:

    java -Dspring.kafka.bootstrap-servers=127.0.0.1:9092 -Dkafkaservice.truststore.location=/home/truststore.jks -Dkafkaservice.truststore.password=Password -jar kafka-service-${VERSION}-java11.jar
  • Or, you can build locally and run the jar file

    ./mvnw clean install package -f pom.xml
    
    java -Dspring.kafka.bootstrap-servers=127.0.0.1:9092 -Dkafkaservice.truststore.location=/home/truststore.jks -Dkafkaservice.truststore.password=Password -jar target/kafka-service-${VERSION}-java11.jar

Copyright

Released under the MIT License. See the LICENSE file.

jms-service's People

Contributors

dependabot[bot] avatar shubhendumadhukar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.