Skip to main content

Messaging helpers for edge/integration services.

Project description

smart_messaging_core

可擴充的通訊核心套件,提供統一的 MessagingClient facade,並可依 route 將訊息導向不同協議。

目前支援的協議

  • mqtt: publish / subscribe
  • http: publish / subscribe(webhook)
  • kafka: publish / subscribe
  • redis: publish / subscribe

註:kafkaredis 目前已提供 client/config 與文件、測試腳本骨架;若要實際連線驗證,需安裝對應套件並啟動外部服務。

安裝(本機)

cd /home/allen/Documents/project/asia-bay/SmartWarehousing/test/smart_messaging_core
pip install -e .

文件

設計說明

  • 對外 API:MessagingClient
  • 協議實作集中在 protocols/
  • 每個協議提供對應 ConfigClient
  • route-based 設計可讓不同用途走不同 backend/channel
  • 錯誤處理可透過 failure_mode 控制(degraded 只 log;strict 會 raise)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smart_messaging_core-0.1.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smart_messaging_core-0.1.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file smart_messaging_core-0.1.1.tar.gz.

File metadata

  • Download URL: smart_messaging_core-0.1.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for smart_messaging_core-0.1.1.tar.gz
Algorithm Hash digest
SHA256 806d9c693eccbbee3fbcb961bd31de4a3f743a8f39ea6cc2bf052e9b32a9b5c9
MD5 049561ddb4ade49aeeaf4f6ad9bc616f
BLAKE2b-256 f7d552bdce5e24da79ebd68c166aa909308016c8840142aecd590b51ec473aa8

See more details on using hashes here.

File details

Details for the file smart_messaging_core-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for smart_messaging_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b736b6f21b7c0f48f9d31bf4d967463c875add7142ad9fc977525841783e4fc
MD5 8638d7f03f836f216b5f391e277aeb51
BLAKE2b-256 39534bc3e2866a6038dd64decec9236adee85b5962aa4765cd5d58bd7eed08b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page