✨ Expand Docker Compose development stack to include observability tools: OpenTelemetry Collector, Jaeger, Prometheus, and Grafana. Update README with new usage instructions for the observability stack and enhance Taskfile for streamlined development commands. Introduce sample telegram generation utility and improve NATS configuration for core and JetStream modes.
This commit is contained in:
@@ -58,6 +58,10 @@ func setupApp() *cli.App {
|
||||
Name: "stream",
|
||||
Usage: "NATS JetStream stream name",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "nats-mode",
|
||||
Usage: "NATS mode: jetstream or core",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "consumer",
|
||||
Usage: "NATS JetStream durable consumer",
|
||||
@@ -193,6 +197,9 @@ func applyCLIOverrides(cfg *config.Config, c *cli.Context) {
|
||||
if stream := c.String("stream"); stream != "" {
|
||||
cfg.NATS.Stream = stream
|
||||
}
|
||||
if mode := c.String("nats-mode"); mode != "" {
|
||||
cfg.NATS.Mode = strings.ToLower(mode)
|
||||
}
|
||||
if consumer := c.String("consumer"); consumer != "" {
|
||||
cfg.NATS.Consumer = consumer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user