From 542437c0dc80ddcce40cb0e28eb0de746bf09e3b Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Fri, 5 Jan 2024 14:27:51 -0500 Subject: [PATCH] fixed order of interceptors Signed-off-by: Calum Murray --- .../dev/knative/eventing/kafka/broker/dispatcher/main/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-plane/dispatcher/src/main/java/dev/knative/eventing/kafka/broker/dispatcher/main/Main.java b/data-plane/dispatcher/src/main/java/dev/knative/eventing/kafka/broker/dispatcher/main/Main.java index 6439b93f4e..3fc667d6b9 100644 --- a/data-plane/dispatcher/src/main/java/dev/knative/eventing/kafka/broker/dispatcher/main/Main.java +++ b/data-plane/dispatcher/src/main/java/dev/knative/eventing/kafka/broker/dispatcher/main/Main.java @@ -84,7 +84,7 @@ public static void start( consumerConfig.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, CloudEventDeserializer.class.getName()); consumerConfig.put( ConsumerConfig.INTERCEPTOR_CLASSES_CONFIG, - InvalidCloudEventInterceptor.class.getName() + "," + NullCloudEventInterceptor.class.getName()); + NullCloudEventInterceptor.class.getName() + "," + InvalidCloudEventInterceptor.class.getName()); // Read WebClient config JsonObject webClientConfig = Configurations.readPropertiesAsJsonSync(env.getWebClientConfigFilePath());