Giter Club home page Giter Club logo

hivemq-heartbeat-extension's Introduction

HiveMQ Heartbeat Extension

This extension allows integration with with load balancers and proxies.

How it works

This extension provides a readiness check via HTTP, which means a service is able to detect if a HiveMQ instance is offline and the load balancer is thus able to remove the HiveMQ node from the load balancing. HiveMQ 4.2.0 is required.

Installation

Unzip the file: hivemq-heartbeat-extension-<version>-distribution.zip to the directory: <HIVEMQ_HOME>/extensions . A configuration file extension-config.xml can be found in the hivemq-heartbeat-extension folder. The properties are preconfigured with standard settings and can be adapted to your needs (The meaning of the fields is explained below). . Start HiveMQ.

Configuration

The Heartbeat extension uses its own configuration file 'extension-config.xml' which must be placed in the extensions folder of HiveMQ.

General Configuration

Config name Required Description

<port>

no

The port on which the heartbeat HTTP service should listen. Default is 9090

<bindAddress>

yes

The bind address of the heartbeat HTTP service. Use 0.0.0.0 if you want to listen on all interfaces.

<path>

no

The Path where the heartbeat HTTP service is located. Default ist /heartbeat

Example Configuration
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<heartbeat-extension-configuration>
        <port>9090</port>
        <bind-address>0.0.0.0</bind-address>
        <path>/heartbeat</path>
</heartbeat-extension-configuration>
Important
By Default the Heartbeat is available at http://MY-IP:9090/heartbeat

Metrics

This extension exposes a custom metric to HiveMQs holistic metric registry.

Metric name Type Description

http-heartbeat-meter

Meter

A meter that shows the frequency of heartbeat requests

Contributing

If you want to contribute to HiveMQ Heartbeat Extension, see the contribution guidelines.

License

HiveMQ Heartbeat Extension is licensed under the APACHE LICENSE, VERSION 2.0. A copy of the license can be found here.

hivemq-heartbeat-extension's People

Contributors

schaebo avatar

Watchers

James Cloos 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.