This commit is contained in:
2026-02-19 07:33:35 +07:00
parent 8c106464fd
commit 9ea9d55eee
4 changed files with 7 additions and 8 deletions

View File

@@ -4,17 +4,17 @@
#
# This is serviceA - the sender that sends a dummy dictionary to serviceB
using NATSBridge
using UUIDs
using JSON
using Dates
# Include the NATSBridge module
include("src/NATSBridge.jl")
include("../src/NATSBridge.jl")
# Configuration
const SUBJECT = "/NATSBridge_dict_test"
const NATS_URL = "nats://localhost:4222"
const FILESERVER_URL = "http://localhost:8080"
const NATS_URL = "nats.yiem.cc"
const FILESERVER_URL = "http://192.168.88.104:8080"
# Create correlation ID for tracing
correlation_id = string(uuid4())
@@ -47,7 +47,7 @@ function send_dictionary()
),
"metadata" => Dict(
"sender" => "serviceA",
"timestamp" => Dates.now().iso8601
"timestamp" => string(Dates.now())
)
)