feat: enhance EvoBGP with new command-line options for the evobgp-agent, including a watch command for periodic configuration updates. Update go.mod with additional dependencies and improve Docker Compose setup for new services, including NATS and various worker components.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// Package broker stubs reference-profile message broker wiring (NATS JetStream / Redis; plan §2).
|
||||
package broker
|
||||
|
||||
import (
|
||||
"context"
|
||||
"log"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// LogConnect logs a one-shot connection attempt when EVOBGP_BROKER_URL is set (full consumer/producer TBD).
|
||||
func LogConnect(ctx context.Context, brokerURL string) {
|
||||
u := strings.TrimSpace(brokerURL)
|
||||
if u == "" {
|
||||
return
|
||||
}
|
||||
log.Printf("broker: EVOBGP_BROKER_URL=%q (stub: no JetStream/Streams consumer in this binary yet)", u)
|
||||
_ = ctx
|
||||
}
|
||||
Reference in New Issue
Block a user