Create a client to send logs to the RabbitMQ server.
Scope of Impact
cmd/client
internal/client
Particular points to check
None
Test
$ make send_message
RABBITMQ_URL=amqp://guest:guest@localhost:5672/ go run ./cmd/client --log-level=debug --source-service=client --destination-service=server --request-type=POST --content="Hello World!"
2024/10/17 01:16:15 Sent a message: {"log_level":"debug","date":"2024-10-17T01:16:15.813662+09:00","source_service":"client","destination_service":"server","request_type":"POST","content":"Hello World!"}
Issue Number
29
Implementation Summary
Create a client to send logs to the RabbitMQ server.
Scope of Impact
Particular points to check
None
Test