Skip to content

Commit d0cb710

Browse files
exclude needed packages for authentication with AWS
1 parent b6f4d5f commit d0cb710

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

superstream-clients/dependency-reduced-pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@
7979
<relocation>
8080
<pattern>org.apache.kafka</pattern>
8181
<shadedPattern>ai.superstream.shaded.org.apache.kafka</shadedPattern>
82+
<excludes>
83+
<exclude>org.apache.kafka.common.security.auth.AuthenticateCallbackHandler</exclude>
84+
<exclude>org.apache.kafka.common.security.auth.SaslExtensionsCallback</exclude>
85+
<exclude>org.apache.kafka.common.security.auth.SaslExtensions</exclude>
86+
<exclude>org.apache.kafka.common.security.auth.SecurityProtocol</exclude>
87+
</excludes>
8288
</relocation>
8389
<relocation>
8490
<pattern>org.slf4j</pattern>

superstream-clients/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,13 @@
147147
<relocation>
148148
<pattern>org.apache.kafka</pattern>
149149
<shadedPattern>ai.superstream.shaded.org.apache.kafka</shadedPattern>
150+
<excludes>
151+
<!-- Only exclude the minimal set of interfaces needed for auth -->
152+
<exclude>org.apache.kafka.common.security.auth.AuthenticateCallbackHandler</exclude>
153+
<exclude>org.apache.kafka.common.security.auth.SaslExtensionsCallback</exclude>
154+
<exclude>org.apache.kafka.common.security.auth.SaslExtensions</exclude>
155+
<exclude>org.apache.kafka.common.security.auth.SecurityProtocol</exclude>
156+
</excludes>
150157
</relocation>
151158
<!-- Complete SLF4J shading -->
152159
<relocation>

0 commit comments

Comments
 (0)