48
48
import io .smallrye .mutiny .tuples .Functions .TriConsumer ;
49
49
import io .smallrye .reactive .messaging .kafka .KafkaConnector ;
50
50
import io .smallrye .reactive .messaging .kafka .commit .ProcessingState ;
51
- import io .vertx .kafka .client .consumer .impl .KafkaReadStreamImpl ;
52
51
53
52
public class SmallRyeReactiveMessagingKafkaProcessor {
54
53
@@ -64,13 +63,6 @@ FeatureBuildItem feature() {
64
63
65
64
@ BuildStep
66
65
public void build (BuildProducer <ReflectiveClassBuildItem > reflectiveClass ) {
67
- // Required for the throttled commit strategy
68
- reflectiveClass .produce (
69
- ReflectiveClassBuildItem .builder (KafkaReadStreamImpl .class )
70
- .fields (true )
71
- .methods (true )
72
- .constructors (true )
73
- .build ());
74
66
reflectiveClass .produce (new ReflectiveClassBuildItem (true , true , ProcessingState .class ));
75
67
}
76
68
@@ -680,9 +672,9 @@ private static boolean isRawMessage(Type type) {
680
672
// Kafka types
681
673
Map .entry (DotName .createSimple (org .apache .kafka .common .utils .Bytes .class .getName ()), org .apache .kafka .common .serialization .BytesDeserializer .class .getName ()),
682
674
// Vert.x types
683
- Map .entry (DotName .createSimple (io .vertx .core .buffer .Buffer .class .getName ()), io .vertx .kafka .client .serialization .BufferDeserializer .class .getName ()),
684
- Map .entry (DotName .createSimple (io .vertx .core .json .JsonObject .class .getName ()), io .vertx .kafka .client .serialization .JsonObjectDeserializer .class .getName ()),
685
- Map .entry (DotName .createSimple (io .vertx .core .json .JsonArray .class .getName ()), io .vertx .kafka .client .serialization .JsonArrayDeserializer .class .getName ())
675
+ Map .entry (DotName .createSimple (io .vertx .core .buffer .Buffer .class .getName ()), io .quarkus .kafka .client .serialization .BufferDeserializer .class .getName ()),
676
+ Map .entry (DotName .createSimple (io .vertx .core .json .JsonObject .class .getName ()), io .quarkus .kafka .client .serialization .JsonObjectDeserializer .class .getName ()),
677
+ Map .entry (DotName .createSimple (io .vertx .core .json .JsonArray .class .getName ()), io .quarkus .kafka .client .serialization .JsonArrayDeserializer .class .getName ())
686
678
);
687
679
688
680
private static final Map <DotName , String > KNOWN_SERIALIZERS = Map .ofEntries (
@@ -709,9 +701,9 @@ private static boolean isRawMessage(Type type) {
709
701
// Kafka types
710
702
Map .entry (DotName .createSimple (org .apache .kafka .common .utils .Bytes .class .getName ()), org .apache .kafka .common .serialization .BytesSerializer .class .getName ()),
711
703
// Vert.x types
712
- Map .entry (DotName .createSimple (io .vertx .core .buffer .Buffer .class .getName ()), io .vertx .kafka .client .serialization .BufferSerializer .class .getName ()),
713
- Map .entry (DotName .createSimple (io .vertx .core .json .JsonObject .class .getName ()), io .vertx .kafka .client .serialization .JsonObjectSerializer .class .getName ()),
714
- Map .entry (DotName .createSimple (io .vertx .core .json .JsonArray .class .getName ()), io .vertx .kafka .client .serialization .JsonArraySerializer .class .getName ())
704
+ Map .entry (DotName .createSimple (io .vertx .core .buffer .Buffer .class .getName ()), io .quarkus .kafka .client .serialization .BufferSerializer .class .getName ()),
705
+ Map .entry (DotName .createSimple (io .vertx .core .json .JsonObject .class .getName ()), io .quarkus .kafka .client .serialization .JsonObjectSerializer .class .getName ()),
706
+ Map .entry (DotName .createSimple (io .vertx .core .json .JsonArray .class .getName ()), io .quarkus .kafka .client .serialization .JsonArraySerializer .class .getName ())
715
707
);
716
708
// @formatter:on
717
709
0 commit comments