From 43f26eb560dee222720cf2ed2eeb74e47f32ca2f Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Sat, 14 Dec 2024 22:00:41 +0700 Subject: [PATCH] Remove deprecated `ListenerLowCardinalityTags.DELIVERY_TAG` --- .../micrometer/RabbitListenerObservation.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitListenerObservation.java b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitListenerObservation.java index 19e75baf0..d575a07b7 100644 --- a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitListenerObservation.java +++ b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitListenerObservation.java @@ -28,6 +28,7 @@ * @author Gary Russell * @author Vincent Meunier * @author Artem Bilan + * @author Ngoc Nhan * * @since 3.0 */ @@ -84,24 +85,6 @@ public String asString() { return "messaging.destination.name"; } - }, - - /** - * The delivery tag. - * After deprecation this key is not exposed as a low cardinality tag. - * - * @since 3.2 - * - * @deprecated in favor of {@link ListenerHighCardinalityTags#DELIVERY_TAG} - */ - @Deprecated(since = "3.2.1", forRemoval = true) - DELIVERY_TAG { - - @Override - public String asString() { - return "messaging.rabbitmq.message.delivery_tag"; - } - } }