Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hivemq/hivemq-heartbeat-extension
HiveMQ extension for integration with load balancers and proxies
https://github.com/hivemq/hivemq-heartbeat-extension
extension heartbeat hivemq hivemq-extension mqtt
Last synced: about 3 hours ago
JSON representation
HiveMQ extension for integration with load balancers and proxies
- Host: GitHub
- URL: https://github.com/hivemq/hivemq-heartbeat-extension
- Owner: hivemq
- License: apache-2.0
- Created: 2019-07-22T12:17:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-14T04:30:41.000Z (about 2 months ago)
- Last Synced: 2024-09-14T16:54:37.957Z (about 2 months ago)
- Topics: extension, heartbeat, hivemq, hivemq-extension, mqtt
- Language: Java
- Homepage: https://www.hivemq.com/extension/heartbeat-extension/
- Size: 294 KB
- Stars: 5
- Watchers: 15
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.adoc
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
:hivemq-support: http://www.hivemq.com/support/
:hivemq-extension-download: https://www.hivemq.com/extension/heartbeat-extension/= HiveMQ Heartbeat Extension
image:https://img.shields.io/badge/Extension_Type-Monitoring-orange?style=for-the-badge[Extension Type]
image:https://img.shields.io/github/v/release/hivemq/hivemq-heartbeat-extension?style=for-the-badge[GitHub release (latest by date),link=https://github.com/hivemq/hivemq-heartbeat-extension/releases/latest]
image:https://img.shields.io/github/license/hivemq/hivemq-heartbeat-extension?style=for-the-badge&color=brightgreen[GitHub,link=LICENSE]
image:https://img.shields.io/github/actions/workflow/status/hivemq/hivemq-heartbeat-extension/check.yml?branch=master&style=for-the-badge[GitHub Workflow Status,link=https://github.com/hivemq/hivemq-heartbeat-extension/actions/workflows/check.yml?query=branch%3Amaster]== Prerequisites
* HiveMQ Enterprise Edition (EE) 4.2.0 or later
* HiveMQ Community Edition (CE) 2020.1 or later== Purpose
This extension allows integration with load balancers and proxies.
It 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.== Installation
* Download the extension from the {hivemq-extension-download}[HiveMQ Marketplace^].
* Copy the content of the zip file to the `extensions` folder of your HiveMQ nodes.
* Modify the `extension-config.xml` file for your needs.== Configuration
The Heartbeat extension uses its own configuration file 'extension-config.xml' which must be placed in the extensions folder of HiveMQ.
|===
| Config name | Required | Description| | no | The port on which the heartbeat HTTP service should listen. Default is 9090
| | yes | The bind address of the heartbeat HTTP service. Use 0.0.0.0 if you want to listen on all interfaces.
| | no | The Path where the heartbeat HTTP service is located. Default ist /heartbeat
|===.Example Configuration
[source]
----9090
0.0.0.0
/heartbeat----
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
|===== Need Help?
If you encounter any problems, we are happy to help.
The best place to get in contact is our {hivemq-support}[support^].== Contributing
If you want to contribute to HiveMQ Heartbeat Extension, see the link:CONTRIBUTING.md[contribution guidelines].
== License
HiveMQ Heartbeat Extension is licensed under the `APACHE LICENSE, VERSION 2.0`.
A copy of the license can be found link:LICENSE[here].