事件处理服务
Go to file
douxu 4c57c37c26 refactor: sync logger improvements from modelrt to eventrt
- add LokiConfig struct and Loki field to LoggerConfig for dev direct-push
  - replace getEncoder/getLogWriter with mode-aware encoder and getWriteSyncer
    (colored console in dev, JSON in container; stdout instead of stderr)
  - add containerFields() to inject K8s pod/namespace/node as global log fields
  - add loki_syncer.go: async batched push to Loki with 512-entry channel
  - introduce makeLogFieldsSkip/getLoggerCallerInfoSkip for wrapper call-frame support
  - expose ErrorSkip/WarnSkip/InfoSkip facade functions for skip-frame logging
  - add loki.endpoint placeholder to eventrt-configmap.yaml for self-documentation
2026-06-08 13:58:48 +08:00
config refactor: sync logger improvements from modelrt to eventrt 2026-06-08 13:58:48 +08:00
constants feat: add event lifecycle API and UI fanout publishing - extract event status, MQ exchange/queue, and DB name constants to constants/event.go - add bson tags and IsPersisted flag to EventRecord for proper MongoDB serialization 2026-05-08 15:43:54 +08:00
database optimze of rabbitmq and mongodb code 2026-01-30 17:43:16 +08:00
deploy refactor: sync logger improvements from modelrt to eventrt 2026-06-08 13:58:48 +08:00
docs feat: add Kubernetes deployment manifests and hardened Dockerfile 2026-05-29 11:09:03 +08:00
event fix: remove status mutation side effect in PublishEventToUI 2026-05-11 17:35:43 +08:00
handler feat: add event lifecycle API and UI fanout publishing - extract event status, MQ exchange/queue, and DB name constants to constants/event.go - add bson tags and IsPersisted flag to EventRecord for proper MongoDB serialization 2026-05-08 15:43:54 +08:00
logger refactor: sync logger improvements from modelrt to eventrt 2026-06-08 13:58:48 +08:00
middleware feat: add OpenTelemetry distributed tracing to eventRT - add OtelConfig to EventRTConfig and configs/config.yaml - add middleware/trace.go with InitTracerProvider (W3C TraceContext) and StartTrace gin middleware 2026-05-07 16:32:53 +08:00
mq optimize code and add md file of deploy rabbitMQ server with eventRT 2026-02-11 16:41:08 +08:00
util add code of db or mq init 2026-01-29 16:54:00 +08:00
.drone.yml add drone config 2026-01-29 16:56:21 +08:00
.gitignore optimize code of rabbitmq connection 2026-02-06 17:55:30 +08:00
README.md updated README.md 2026-02-11 18:12:56 +08:00
go.mod feat: add Kubernetes deployment manifests and hardened Dockerfile 2026-05-29 11:09:03 +08:00
go.sum feat: add OpenTelemetry distributed tracing to eventRT - add OtelConfig to EventRTConfig and configs/config.yaml - add middleware/trace.go with InitTracerProvider (W3C TraceContext) and StartTrace gin middleware 2026-05-07 16:32:53 +08:00
main.go feat: add event lifecycle API and UI fanout publishing - extract event status, MQ exchange/queue, and DB name constants to constants/event.go - add bson tags and IsPersisted flag to EventRecord for proper MongoDB serialization 2026-05-08 15:43:54 +08:00

README.md

eventRT

事件处理服务

Build Status