I’m trying to setup kafka-connect, using S3Sink, which reads from kafka writes msgs to S3.
Getting below error, the moment kafka-connect comes up. Please help.
[2022-05-16 10:58:38,043] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid task status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] WARN Failed to parse task status with key status-task-s3-kafka-sink-0 (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid task status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] WARN Failed to parse task status with key status-task-s3-kafka-sink-0 (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] ERROR Invalid task status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] WARN Failed to parse task status with key status-task-s3-kafka-sink-0 (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
Container die after 1 or 2 min. it comes up. with the logs.
[2022-05-16 10:58:38,043] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid task status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] WARN Failed to parse task status with key status-task-s3-kafka-sink-0 (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid task status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] WARN Failed to parse task status with key status-task-s3-kafka-sink-0 (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,044] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] ERROR Invalid task status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] WARN Failed to parse task status with key status-task-s3-kafka-sink-0 (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
[2022-05-16 10:58:38,045] ERROR Invalid connector status type class [B (org.apache.kafka.connect.storage.KafkaStatusBackingStore)
AND
[2022-05-18 05:16:10,401] INFO [Worker clientId=connect-1, groupId=kafka-connect] Finished reading to end of log and updated config snapshot, new config log offset: 3305 (org.apache.kafka.connect.runtime.distributed.DistributedHerder)
[2022-05-18 05:16:10,401] INFO [Worker clientId=connect-1, groupId=kafka-connect] Failed to write new session key to config topic; forcing a read to the end of the config topic before possibly retrying (org.apache.kafka.connect.runtime.distributed.DistributedHerder)
[2022-05-18 05:16:10,401] INFO [Worker clientId=connect-1, groupId=kafka-connect] Reading to end of config log; current config state offset: 3305 (org.apache.kafka.connect.runtime.distributed.DistributedHerder)
[2022-05-18 05:16:10,403] INFO [Worker clientId=connect-1, groupId=kafka-connect] Finished reading to end of log and updated config snapshot, new config log offset: 3305 (org.apache.kafka.connect.runtime.distributed.DistributedHerder)
[2022-05-18 05:16:10,403] INFO [Worker clientId=connect-1, groupId=kafka-connect] Failed to write new session key to config topic; forcing a read to the end of the config topic before possibly retrying (org.apache.kafka.connect.runtime.distributed.DistributedHerder)
[2022-05-18 05:16:10,403] INFO [Worker clientId=connect-1, groupId=kafka-connect] Reading to end of config log; current config state offset: 3305 (org.apache.kafka.connect.runtime.distributed.DistributedHerder)
And some of ENV are set by platform-team, which are common across all applications. using puppet files or so. Kind of ENVs default available to application
You need to start fresh (delete the three connect topics)
These values should not be changed from JSONConverter. In fact, they are deprecated properties, and you should simply remove them from the Compose file / environment variables.
This is evident by class [B in your error, which means the Connect topic data was stored as a ByteArray rather than as JSON.
I see new error now java.lang.ClassNotFoundException
[2022-05-20 16:54:55,031] WARN could not get type for name org.jdom.output.XMLOutputter from any class loader (org.reflections.Reflections)
org.reflections.ReflectionsException: could not get type for name org.jdom.output.XMLOutputter
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:312)
at org.reflections.Reflections.expandSuperTypes(Reflections.java:382)
at org.reflections.Reflections.<init>(Reflections.java:140)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.<init>(DelegatingClassLoader.java:441)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanPluginPath(DelegatingClassLoader.java:331)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanUrlsAndAddPlugins(DelegatingClassLoader.java:268)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.registerPlugin(DelegatingClassLoader.java:260)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initPluginLoader(DelegatingClassLoader.java:229)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initLoaders(DelegatingClassLoader.java:206)
at org.apache.kafka.connect.runtime.isolation.Plugins.<init>(Plugins.java:61)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:93)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)
Caused by: java.lang.ClassNotFoundException: org.jdom.output.XMLOutputter
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:310)
... 11 more
And
at org.reflections.Reflections.expandSuperTypes(Reflections.java:382)
at org.reflections.Reflections.<init>(Reflections.java:140)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.<init>(DelegatingClassLoader.java:441)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanPluginPath(DelegatingClassLoader.java:331)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanUrlsAndAddPlugins(DelegatingClassLoader.java:268)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.registerPlugin(DelegatingClassLoader.java:260)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initPluginLoader(DelegatingClassLoader.java:229)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initLoaders(DelegatingClassLoader.java:206)
at org.apache.kafka.connect.runtime.isolation.Plugins.<init>(Plugins.java:61)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:93)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)
Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.JspException
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:310)
... 11 more
[2022-05-20 16:54:55,055] WARN could not get type for name org.jaxen.dom.DocumentNavigator from any class loader (org.reflections.Reflections)
org.reflections.ReflectionsException: could not get type for name org.jaxen.dom.DocumentNavigator
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:312)
at org.reflections.Reflections.expandSuperTypes(Reflections.java:382)
at org.reflections.Reflections.<init>(Reflections.java:140)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.<init>(DelegatingClassLoader.java:441)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanPluginPath(DelegatingClassLoader.java:331)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanUrlsAndAddPlugins(DelegatingClassLoader.java:268)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.registerPlugin(DelegatingClassLoader.java:260)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initPluginLoader(DelegatingClassLoader.java:229)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initLoaders(DelegatingClassLoader.java:206)
at org.apache.kafka.connect.runtime.isolation.Plugins.<init>(Plugins.java:61)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:93)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)
Caused by: java.lang.ClassNotFoundException: org.jaxen.dom.DocumentNavigator
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:310)
... 11 more
it’s not just XML related, it’s throwing exception for every possible class.
like javax.servlet.jsp.JspException and org.jaxen.dom.DocumentNavigator and many more.
org.jaxen is also XML related, from what I can tell. And Connect doesn’t use JSP Servlets, either.
I know the S3 will return XML error responses in certain conditions, but unless you have an active S3 connector deployed, that shouldn’t matter for the initial error that was posted regarding the Connect storage topic.
You did delete the topics and create brand new ones, yes? I was able to start my own Connect server just fine with the settings you’ve shown so far.
Interesting, just pasting few errors just in case if you could find any clue. (please see error logs till end, as all of it are different one another)
[2022-05-21 04:28:34,741] WARN could not get type for name org.conscrypt.HandshakeListener from any class loader (org.reflections.Reflections)
org.reflections.ReflectionsException: could not get type for name org.conscrypt.HandshakeListener
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:312)
at org.reflections.Reflections.expandSuperTypes(Reflections.java:382)
at org.reflections.Reflections.<init>(Reflections.java:140)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.<init>(DelegatingClassLoader.java:441)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanPluginPath(DelegatingClassLoader.java:331)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanUrlsAndAddPlugins(DelegatingClassLoader.java:268)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.registerPlugin(DelegatingClassLoader.java:260)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initPluginLoader(DelegatingClassLoader.java:229)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initLoaders(DelegatingClassLoader.java:206)
at org.apache.kafka.connect.runtime.isolation.Plugins.<init>(Plugins.java:61)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:93)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)
Caused by: java.lang.ClassNotFoundException: org.conscrypt.HandshakeListener
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:310)
[2022-05-21 04:28:34,742] WARN could not get type for name org.python.util.PythonInterpreter from any class loader (org.reflections.Reflections)
org.reflections.ReflectionsException: could not get type for name org.python.util.PythonInterpreter
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:312)
at org.reflections.Reflections.expandSuperTypes(Reflections.java:382)
at org.reflections.Reflections.<init>(Reflections.java:140)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.<init>(DelegatingClassLoader.java:441)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanPluginPath(DelegatingClassLoader.java:331)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanUrlsAndAddPlugins(DelegatingClassLoader.java:268)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.registerPlugin(DelegatingClassLoader.java:260)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initPluginLoader(DelegatingClassLoader.java:229)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initLoaders(DelegatingClassLoader.java:206)
at org.apache.kafka.connect.runtime.isolation.Plugins.<init>(Plugins.java:61)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:93)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)
Caused by: java.lang.ClassNotFoundException: org.python.util.PythonInterpreter
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:310)
... 11 more
[2022-05-21 04:28:34,755] DEBUG expanded subtype java.io.Closeable -> java.io.InputStream (org.reflections.Reflections)
[2022-05-21 04:28:34,756] DEBUG expanded subtype java.lang.AutoCloseable -> java.io.Closeable (org.reflections.Reflections)
[2022-05-21 04:28:34,757] WARN could not get type for name org.jboss.marshalling.ByteInput from any class loader (org.reflections.Reflections)
org.reflections.ReflectionsException: could not get type for name org.jboss.marshalling.ByteInput
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:312)
at org.reflections.Reflections.expandSuperTypes(Reflections.java:382)
at org.reflections.Reflections.<init>(Reflections.java:140)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.<init>(DelegatingClassLoader.java:441)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanPluginPath(DelegatingClassLoader.java:331)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanUrlsAndAddPlugins(DelegatingClassLoader.java:268)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.registerPlugin(DelegatingClassLoader.java:260)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initPluginLoader(DelegatingClassLoader.java:229)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initLoaders(DelegatingClassLoader.java:206)
at org.apache.kafka.connect.runtime.isolation.Plugins.<init>(Plugins.java:61)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:93)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)
Caused by: java.lang.ClassNotFoundException: org.jboss.marshalling.ByteInput
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:310)
... 11 more
[2022-05-21 04:28:34,768] WARN could not get type for name javax.servlet.jsp.JspWriter from any class loader (org.reflections.Reflections)
org.reflections.ReflectionsException: could not get type for name javax.servlet.jsp.JspWriter
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:312)
at org.reflections.Reflections.expandSuperTypes(Reflections.java:382)
at org.reflections.Reflections.<init>(Reflections.java:140)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.<init>(DelegatingClassLoader.java:441)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanPluginPath(DelegatingClassLoader.java:331)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanUrlsAndAddPlugins(DelegatingClassLoader.java:268)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.registerPlugin(DelegatingClassLoader.java:260)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initPluginLoader(DelegatingClassLoader.java:229)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initLoaders(DelegatingClassLoader.java:206)
at org.apache.kafka.connect.runtime.isolation.Plugins.<init>(Plugins.java:61)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:93)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)
Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.JspWriter
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:310)
... 11 more
[2022-05-21 04:28:34,769] DEBUG expanded subtype java.lang.ref.Reference -> java.lang.ref.SoftReference (org.reflections.Reflections)
[2022-05-21 04:28:34,770] DEBUG expanded subtype java.nio.channels.ReadableByteChannel -> java.nio.channels.ScatteringByteChannel (org.reflections.Reflections)
[2022-05-21 04:28:34,770] DEBUG expanded subtype java.nio.channels.Channel -> java.nio.channels.ReadableByteChannel (org.reflections.Reflections)
[2022-05-21 04:28:34,770] DEBUG expanded subtype java.io.Closeable -> java.nio.channels.Channel (org.reflections.Reflections)
[2022-05-21 04:28:34,770] DEBUG expanded subtype java.lang.AutoCloseable -> java.io.Closeable (org.reflections.Reflections)
[2022-05-21 04:28:34,775] DEBUG expanded subtype java.nio.channels.Channel -> java.nio.channels.WritableByteChannel (org.reflections.Reflections)
[2022-05-21 04:28:34,775] DEBUG expanded subtype java.io.Closeable -> java.nio.channels.Channel (org.reflections.Reflections)
[2022-05-21 04:28:34,775] DEBUG expanded subtype java.lang.AutoCloseable -> java.io.Closeable (org.reflections.Reflections)
[2022-05-21 04:28:34,779] DEBUG expanded subtype com.fasterxml.jackson.databind.deser.NullValueProvider -> com.fasterxml.jackson.databind.JsonDeserializer (org.reflections.Reflections)
[2022-05-21 04:28:34,789] DEBUG expanded subtype java.lang.Iterable -> java.util.Collection (org.reflections.Reflections)
[2022-05-21 04:28:34,792] DEBUG expanded subtype java.util.Collection -> java.util.Queue (org.reflections.Reflections)
[2022-05-21 04:28:34,792] DEBUG expanded subtype java.lang.Iterable -> java.util.Collection (org.reflections.Reflections)
[2022-05-21 04:28:34,794] DEBUG expanded subtype java.util.concurrent.ExecutorService -> java.util.concurrent.AbstractExecutorService (org.reflections.Reflections)
[2022-05-21 04:28:34,795] DEBUG expanded subtype java.util.concurrent.Executor -> java.util.concurrent.ExecutorService (org.reflections.Reflections)
[2022-05-21 04:28:34,798] WARN could not get type for name javax.servlet.jsp.el.VariableResolver from any class loader (org.reflections.Reflections)
org.reflections.ReflectionsException: could not get type for name javax.servlet.jsp.el.VariableResolver
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:312)
at org.reflections.Reflections.expandSuperTypes(Reflections.java:382)
at org.reflections.Reflections.<init>(Reflections.java:140)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.<init>(DelegatingClassLoader.java:441)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanPluginPath(DelegatingClassLoader.java:331)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanUrlsAndAddPlugins(DelegatingClassLoader.java:268)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.registerPlugin(DelegatingClassLoader.java:260)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initPluginLoader(DelegatingClassLoader.java:229)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initLoaders(DelegatingClassLoader.java:206)
at org.apache.kafka.connect.runtime.isolation.Plugins.<init>(Plugins.java:61)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:93)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)
Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.el.VariableResolver
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:310)
... 11 more
[2022-05-21 04:28:40,574] DEBUG [Thread[org.reflections-scanner-2,5,main]] scanning file:/usr/share/java/kafka/netty-transport-4.1.73.Final.jar (org.reflections.Reflections)
[2022-05-21 04:28:40,592] DEBUG [Thread[org.reflections-scanner-1,5,main]] scanning file:/etc/kafka-connect/jars/* (org.reflections.Reflections)
[2022-05-21 04:28:40,593] WARN could not create Vfs.Dir from url. ignoring the exception and continuing (org.reflections.Reflections)
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/etc/kafka-connect/jars/*]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
at org.reflections.vfs.Vfs.fromURL(Vfs.java:114)
at org.reflections.vfs.Vfs.fromURL(Vfs.java:96)
at org.reflections.Reflections.scan(Reflections.java:257)
at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.scan(DelegatingClassLoader.java:449)
at org.reflections.Reflections.lambda$scan$0(Reflections.java:213)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
[2022-05-21 04:28:42,823] ERROR Stopping due to error (org.apache.kafka.connect.cli.ConnectDistributed)
org.apache.kafka.common.config.ConfigException: Invalid value "1" for configuration offset.storage.replication.factor: Not a number of type SHORT
at org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:742)
at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:490)
at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:483)
at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:108)
at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:129)
at org.apache.kafka.connect.runtime.WorkerConfig.<init>(WorkerConfig.java:452)
at org.apache.kafka.connect.runtime.distributed.DistributedConfig.<init>(DistributedConfig.java:405)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:95)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)