Code Monkey home page Code Monkey logo

generator-jhipster-pulsar's Introduction

generator-jhipster-pulsar

NPM version Build Status Dependency Status

JHipster module to support Apache Pulsar in your JHipster app

Introduction

This is a JHipster module, that is meant to be used in a JHipster application. It provides integration with the Apache Pulsar messaging system.

Prerequisites

As this is a JHipster module, we expect you have JHipster and its related tools already installed (see installing JHipster)

Installation

To install this module:

npm install -g generator-jhipster-pulsar

To update this module:

npm update -g generator-jhipster-pulsar

Usage

At the root of your JHipster app folder, enter:

yo jhipster-pulsar

This will generate:

  • a docker-compose file that can be used in development to spawn a dockerized pulsar instance. To launch it:
docker-compose -f src/main/docker/pulsar.yml up -d
  • an HTTP endpoint to publish messages:
curl -X POST "http://localhost:8080/api/pulsar/publish/my-topic?message=test"
  • a Server-Sent-Event endpoint to consume messages as a stream:
curl "http://localhost:8080/api/pulsar/consume/my-subscription?topic=my-topic"

License

Apache-2.0 © Christophe Bornet

generator-jhipster-pulsar's People

Contributors

cbornet avatar dependabot-preview[bot] avatar

Stargazers

 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.