Fix Grafana flood of warnings

This commit is contained in:
2024-11-23 18:43:50 +02:00
parent 2d9c7555d5
commit 7c9a960e11
7 changed files with 52 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ public class BrokerConnector {
Channel channel = connection.createChannel()) {
channel.queueDeclare(QUEUE_NAME, false, false, false, null);
System.out.println("Waiting for messages. To exit press CTRL+C");
System.out.println("Connected to RabbitMQ and queue declared.");
DeliverCallback deliverCallback = (consumerTag, delivery) -> {
// String message = new String(delivery.getBody(), StandardCharsets.UTF_8);