A rocketmq message consumer for Gitlab WebHook messages
Project description
A simple message consumer for Gitlab WebHook messages
This project provides A simple message consumer for Gitlab WebHook messages that were previously sent to a rocketmq server
Installation
It is possible to install the tool with pip:
pip install sc-gitlab-msg-consumer
Configuration
You can copy default.yml to ~/.sc-gitlab-msg-consumer/production.yml to initialize the production configuration.
The default configuration file looks like this:
dev: # whether this program is running is development mode dev_mode: False # rocketmq configurations rocketmq: # name server ip name_server_ip: "localhost" # name server port name_server_port: 9876 # group id group_id: "GITLAB_WEBHOOK_MSG_CONSUMER" # message topic msg_topic: "GITLAB_WEBHOOK"
Running
After installation and configuration, you can simply run this program using:
sh sc-gitlab-msg-consumer
Logs will be saved at ~/logs/sc-sys.log
Dependencies
sc-utilities >= 0.0.1
sc-config >= 0.0.2
rocketmq-client-python >= 2.0.0
Changes
- Version 0.0.1
Initial version
License
The script is released under the MIT License. The MIT License is registered with and approved by the Open Source Initiative [1].
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for sc-gitlab-msg-consumer-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f6c743312bdf7071281481ac6e3c4bb9682a2b7c07ae7674e2ded3a22585384 |
|
MD5 | 0c55b290d705e49195dbc83aaddec76f |
|
BLAKE2b-256 | 2410445084a23050a4e4b51c32a2f356d725b1e0d7b8640ddc262daf0b88256b |