Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix topics runtime classloader #437

Merged
merged 5 commits into from
Sep 18, 2023
Merged

Fix topics runtime classloader #437

merged 5 commits into from
Sep 18, 2023

Conversation

nicoloboschi
Copy link
Member

Fixes this error

20:09:54.047 [main] INFO  a.l.runtime.agent.AgentRunnerStarter -- Error, NOW SLEEPING                                                  │
│ runtime org.apache.kafka.common.KafkaException: Failed to create new KafkaAdminClient                                                          │
│ runtime     at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:551)                                       │
│ runtime     at org.apache.kafka.clients.admin.Admin.create(Admin.java:144)                                                                     │
│ runtime     at org.apache.kafka.connect.util.TopicAdmin.<init>(TopicAdmin.java:282)                                                            │
│ runtime     at ai.langstream.kafka.runner.KafkaTopicConnectionsRuntime$1.start(KafkaTopicConnectionsRuntime.java:147)                          │
│ runtime     at ai.langstream.runtime.agent.AgentRunner.runJavaAgent(AgentRunner.java:374)                                                      │
│ runtime     at ai.langstream.runtime.agent.AgentRunner.run(AgentRunner.java:190)                                                               │
│ runtime     at ai.langstream.runtime.agent.AgentRunnerStarter.start(AgentRunnerStarter.java:111)                                               │
│ runtime     at ai.langstream.runtime.agent.AgentRunnerStarter.main(AgentRunnerStarter.java:53)                                                 │
│ runtime     at ai.langstream.runtime.Main.main(Main.java:42)                                                                                   │
│ runtime Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: No LoginModule found for org.apache.kafka │
│ .common.security.plain.PlainLoginModule                                                                                                        │
│ runtime     at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:184)                                       │
│ runtime     at org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:192)                                                │
│ runtime     at org.apache.kafka.common.network.ChannelBuilders.clientChannelBuilder(ChannelBuilders.java:81)                                   │
│ runtime     at org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:105)                                                 │
│ runtime     at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:522)                                       │
│ runtime     ... 8 common frames omitted

@eolivelli eolivelli merged commit 20f4d0c into main Sep 18, 2023
8 checks passed
@eolivelli eolivelli deleted the kafka-claspath branch September 18, 2023 18:22
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants