Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send MQTT message when cache warming event takes place #114

Closed
mountaindude opened this issue Oct 21, 2021 · 2 comments
Closed

Send MQTT message when cache warming event takes place #114

mountaindude opened this issue Oct 21, 2021 · 2 comments
Milestone

Comments

@mountaindude
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Feature.

MQTT is incredibly useful as an integration tool. Thus:
When an app is loaded into a server, send a MQTT message to a configurable MQTT broker and topic.

@mountaindude mountaindude added this to the 4.0 milestone Oct 21, 2021
@mountaindude
Copy link
Collaborator Author

Looking at something like this in the main config file to deal with outgoing MQTT messages that would be sent whenever an app is cache warmed (=a cache run event takes place)

# MQTT config parameters
mqttConfig:
  out: 
    enable: true              # Should info about cache run/warming events be sent as MQTT messages?
    baseTopic: butler-cw/     # Topic to send cache run events to. Should end with /
    tzFormat: UTC           # LOCAL or UTC. Default is UTC
  # Items below are mandatory if mqttConfig.enable=true
  broker:
    uri: mqtt://<broker-ip>:<port>

mountaindude added a commit to mountaindude/butler-cw that referenced this issue Oct 22, 2021
@mountaindude
Copy link
Collaborator Author

Will be included in v4.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant