CloudWeGo · Microservices · v3.0.0

Post analysis,
built like production.

A Kitex/Hertz microservices backend that stores, serves, and analyzes posts — ABAC authorization, three purpose-built message brokers, ML sentiment scoring, and Terraform-powered Kubernetes deployments on AWS, Azure, OCI, or GCP.

Browser Gateway Hertz · Netpoll postsvc Kitex RPC authsvc ABAC · JWT Postgres · Redis Kafka · RabbitMQ RocketMQ · MinIO Nvidia Triton
0Services & binaries
0Message brokers
0Cloud IaC targets
0Interfaces: HTTP/RPC/CLI/REPL

Everything a production backend needs

Not a toy demo — real ABAC, real observability, real deploy artifacts.

RPC & HTTP, dual surface

Kitex (Thrift, TTHeader, mux) between services; Hertz + Netpoll at the HTTP edge. One codebase, two transports.

ABAC authorization

Role- and attribute-based policy decisions from a dedicated authsvc, enforced as gateway middleware on every route.

Three purpose-built brokers

Kafka for the durable analytics event log, RabbitMQ for the reanalysis work queue, RocketMQ for native delayed rechecks.

ML sentiment scoring

Post text classified via an Nvidia Triton inference server serving an ONNX model trained with scikit-learn.

Full observability

Prometheus metrics + Grafana dashboards out of the box, structured logs, and health/readiness probes on every service.

Multi-cloud, on request

Kustomize base + overlays, Argo Rollouts canary/blue-green, Istio mesh, and Terraform modules for AWS, Azure, OCI, and GCP.

One broker per job, not one broker for everything

Each broker exists for a distinct delivery guarantee the post-analysis pipeline actually needs.

Kafkadurable event log
RabbitMQreanalysis queue
RocketMQdelayed rechecks

Built on CloudWeGo & friends

KitexHertzSonicNetpollTTHeaderThriftProtobufCobra CLIJWTABACbcryptPostgreSQLRedisKafkaRabbitMQRocketMQMinIONvidia TritonONNXPrometheusGrafananginxDockerKubernetesArgo RolloutsIstioTerraformAWSAzureOCIGCPGitHub Actions