Build Logs

kaizen-solutions/fs2-kafka-jsonschema • 3.8.0-RC5:2025-12-31

Errors

11

Warnings

4

Total Lines

377

1##################################
2Clonning https://github.com/kaizen-solutions/fs2-kafka-jsonschema.git into /build/repo using revision v0.0.1
3##################################
4Note: switching to 'cd75c5f4d4182f46d206c036ec973ff6a26e2fd7'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21Would override fixed Scala version: 3.3.3
22----
23Preparing build for 3.8.0-RC5
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3 = "3.3.3"
35Replacement: val scala3 = "3.8.0-RC5"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.3.3"' in build.sbt
40----
41Starting build for 3.8.0-RC5
42Execute tests: true
43sbt project found:
44Sbt version 1.10.1 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project kaizen-solutions/fs2-kafka-jsonschema
47##################################
48Scala version: 3.8.0-RC5
49Targets: io.kaizen-solutions%fs2-kafka-jsonschema
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC5
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC5"
70"++3.8.0-RC5 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC5 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.kaizen-solutions%fs2-kafka-jsonschema"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build-build-build from metals.sbt...
81[info] loading project definition from /build/repo/project/project/project
82[info] loading settings for project repo-build-build from metals.sbt...
83[info] loading project definition from /build/repo/project/project
84[success] Generated .bloop/repo-build-build.json
85[success] Total time: 3 s, completed Dec 31, 2025, 10:28:56 PM
86[info] loading settings for project repo-build from akka.sbt, metals.sbt, plugins.sbt...
87[info] loading project definition from /build/repo/project
88[success] Generated .bloop/repo-build.json
89[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
90[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
91[info] Compilation completed in 8.477s.
92[info] done compiling
93[success] Total time: 18 s, completed Dec 31, 2025, 10:29:17 PM
94[info] loading settings for project root from build.sbt...
95[info] set current project to fs2-kafka-jsonschema (in build file:/build/repo/)
96Execute setCrossScalaVersions: 3.8.0-RC5
97OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in root/crossScalaVersions
98[info] set current project to fs2-kafka-jsonschema (in build file:/build/repo/)
99[info] Setting Scala version to 3.8.0-RC5 on 1 projects.
100[info] Switching Scala version on:
101[info] * root (3.8.0-RC5)
102[info] Excluding projects:
103[info] Reapplying settings...
104[info] set current project to fs2-kafka-jsonschema (in build file:/build/repo/)
105Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
106[info] Reapplying settings...
107[info] set current project to fs2-kafka-jsonschema (in build file:/build/repo/)
108[info] Defining Global / credentials, credentials
109[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 9 others.
110[info] Run `last` for details.
111[info] Reapplying settings...
112[info] set current project to fs2-kafka-jsonschema (in build file:/build/repo/)
113Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
114[info] Reapplying settings...
115OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
116
117 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
118 Did you mean allExcludeDependencies ?
119 , retry without global scopes
120[info] Reapplying settings...
121[info] set current project to fs2-kafka-jsonschema (in build file:/build/repo/)
122Execute removeScalacOptionsStartingWith: -P:wartremover
123[info] Reapplying settings...
124[info] set current project to fs2-kafka-jsonschema (in build file:/build/repo/)
125[success] Total time: 0 s, completed Dec 31, 2025, 10:29:24 PM
126Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
127Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
128Starting build...
129Projects: Set(root)
130Starting build for ProjectRef(file:/build/repo/,root) (fs2-kafka-jsonschema)... [0/1]
131OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
132OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
133OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
134Compile scalacOptions: -release, 17, -Wunused:imports, -Wunused:explicits, -Wvalue-discard, -unchecked, -encoding, utf8, -Wunused:implicits, -Ykind-projector, -Xsemanticdb, -semanticdb-target, /build/repo/target/scala-3.8.0-RC5/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
135[info] compiling 4 Scala sources to /build/repo/target/scala-3.8.0-RC5/classes ...
136[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
137[warn] one warning found
138[info] done compiling
139[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0-RC5/test-classes ...
140[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
141[warn] one warning found
142[info] done compiling
1432025-12-31 22:30:19.795+0100 warn [Providers] A provider io.confluent.kafka.schemaregistry.rest.resources.ConfigResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.kafka.schemaregistry.rest.resources.ConfigResource will be ignored.
1442025-12-31 22:30:19.798+0100 warn [Providers] A provider io.confluent.kafka.schemaregistry.rest.resources.ContextsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.kafka.schemaregistry.rest.resources.ContextsResource will be ignored.
1452025-12-31 22:30:19.799+0100 warn [Providers] A provider io.confluent.kafka.schemaregistry.rest.resources.SubjectsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.kafka.schemaregistry.rest.resources.SubjectsResource will be ignored.
1462025-12-31 22:30:19.799+0100 warn [Providers] A provider io.confluent.kafka.schemaregistry.rest.resources.SchemasResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.kafka.schemaregistry.rest.resources.SchemasResource will be ignored.
1472025-12-31 22:30:19.799+0100 warn [Providers] A provider io.confluent.kafka.schemaregistry.rest.resources.SubjectVersionsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.kafka.schemaregistry.rest.resources.SubjectVersionsResource will be ignored.
1482025-12-31 22:30:19.799+0100 warn [Providers] A provider io.confluent.kafka.schemaregistry.rest.resources.CompatibilityResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.kafka.schemaregistry.rest.resources.CompatibilityResource will be ignored.
1492025-12-31 22:30:19.800+0100 warn [Providers] A provider io.confluent.kafka.schemaregistry.rest.resources.ModeResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.kafka.schemaregistry.rest.resources.ModeResource will be ignored.
1502025-12-31 22:30:19.803+0100 warn [Providers] A provider io.confluent.kafka.schemaregistry.rest.resources.ServerMetadataResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.confluent.kafka.schemaregistry.rest.resources.ServerMetadataResource will be ignored.
151[2025-12-31 22:30:19,944] INFO HV000001: Hibernate Validator 6.1.7.Final (org.hibernate.validator.internal.util.Version:21)
15222:30:21.493 [io-compute-1] ERROR i.c.k.s.c.CachedSchemaRegistryClient - Invalid schema type JSON
153org.apache.kafka.common.errors.SerializationException: Error serializing JSON message
15422:30:21.558 [qtp1331713850-423] ERROR i.c.r.e.DebuggableExceptionMapper - Request Failed with exception
155io.confluent.kafka.schemaregistry.rest.exceptions.RestIncompatibleSchemaException: Schema being registered is incompatible with an earlier schema for subject "example-topic-persons-value", details: [{errorType:"PROPERTY_ADDED_TO_OPEN_CONTENT_MODEL", description:"The new schema has an open content model and has a property or item at path '#/properties/booksRead' which is missing in the old schema'}, {oldSchemaVersion: 1}, {oldSchema: '{"$schema":"http://json-schema.org/draft-04/schema#","$defs":{"Book":{"title":"Book","type":"object","required":["name","isbn"],"properties":{"name":{"description":"name of the book","type":"string"},"isbn":{"description":"international standard book number","type":"integer","format":"int32"}}}},"title":"PersonV1","type":"object","required":["name","age"],"properties":{"name":{"description":"name of the person","type":"string"},"age":{"description":"age of the person","type":"integer","format":"int32"},"books":{"description":"A list of books that the person has read","type":"array","items":{"$ref":"#/$defs/Book"}}}}'}, {validateFields: 'false', compatibility: 'BACKWARD'}]
156 at io.confluent.kafka.schemaregistry.rest.exceptions.Errors.incompatibleSchemaException(Errors.java:134)
157 at io.confluent.kafka.schemaregistry.rest.resources.SubjectVersionsResource.register(SubjectVersionsResource.java:436)
158 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
159 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
160 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
161 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
162 at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
163 at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:134)
164 at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:177)
165 at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
166 at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:81)
167 at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
168 at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
169 at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
170 at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
171 at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
172 at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
173 at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
174 at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
175 at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
176 at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
177 at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
178 at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
179 at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
180 at org.glassfish.jersey.servlet.ServletContainer.serviceImpl(ServletContainer.java:378)
181 at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:553)
182 at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:494)
183 at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:431)
184 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
185 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
186 at io.confluent.rest.metrics.JettyRequestMetricsFilter.doFilter(JettyRequestMetricsFilter.java:84)
187 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
188 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
189 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)
190 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
191 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
192 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
193 at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
194 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
195 at io.confluent.kafka.schemaregistry.rest.RequestIdHandler.handle(RequestIdHandler.java:51)
196 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
197 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
198 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
199 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
200 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
201 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
202 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
203 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
204 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
205 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
206 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
207 at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:181)
208 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234)
209 at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)
210 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
211 at org.eclipse.jetty.server.Server.handle(Server.java:516)
212 at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
213 at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
214 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
215 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
216 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
217 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
218 at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
219 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
220 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
221 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
222 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
223 at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
224 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
225 at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
226 at java.base/java.lang.Thread.run(Thread.java:833)
227Caused by: io.confluent.kafka.schemaregistry.exceptions.IncompatibleSchemaException: [{errorType:"PROPERTY_ADDED_TO_OPEN_CONTENT_MODEL", description:"The new schema has an open content model and has a property or item at path '#/properties/booksRead' which is missing in the old schema'}, {oldSchemaVersion: 1}, {oldSchema: '{"$schema":"http://json-schema.org/draft-04/schema#","$defs":{"Book":{"title":"Book","type":"object","required":["name","isbn"],"properties":{"name":{"description":"name of the book","type":"string"},"isbn":{"description":"international standard book number","type":"integer","format":"int32"}}}},"title":"PersonV1","type":"object","required":["name","age"],"properties":{"name":{"description":"name of the person","type":"string"},"age":{"description":"age of the person","type":"integer","format":"int32"},"books":{"description":"A list of books that the person has read","type":"array","items":{"$ref":"#/$defs/Book"}}}}'}, {validateFields: 'false', compatibility: 'BACKWARD'}]
228 at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.register(KafkaSchemaRegistry.java:751)
229 at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.registerOrForward(KafkaSchemaRegistry.java:882)
230 at io.confluent.kafka.schemaregistry.rest.resources.SubjectVersionsResource.register(SubjectVersionsResource.java:417)
231 ... 69 common frames omitted
23222:30:21.649 [qtp1331713850-423] ERROR i.c.r.e.DebuggableExceptionMapper - Request Failed with exception
233io.confluent.rest.exceptions.RestNotFoundException: Schema not found
234 at io.confluent.kafka.schemaregistry.rest.exceptions.Errors.schemaNotFoundException(Errors.java:121)
235 at io.confluent.kafka.schemaregistry.rest.resources.SubjectsResource.lookUpSchemaUnderSubject(SubjectsResource.java:132)
236 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
237 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
238 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
239 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
240 at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
241 at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:134)
242 at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:177)
243 at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
244 at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:81)
245 at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
246 at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
247 at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
248 at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
249 at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
250 at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
251 at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
252 at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
253 at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
254 at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
255 at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
256 at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
257 at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
258 at org.glassfish.jersey.servlet.ServletContainer.serviceImpl(ServletContainer.java:378)
259 at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:553)
260 at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:494)
261 at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:431)
262 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
263 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
264 at io.confluent.rest.metrics.JettyRequestMetricsFilter.doFilter(JettyRequestMetricsFilter.java:84)
265 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
266 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
267 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)
268 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
269 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
270 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
271 at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
272 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
273 at io.confluent.kafka.schemaregistry.rest.RequestIdHandler.handle(RequestIdHandler.java:51)
274 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
275 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
276 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
277 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
278 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
279 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
280 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
281 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
282 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
283 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
284 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
285 at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:181)
286 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234)
287 at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)
288 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
289 at org.eclipse.jetty.server.Server.handle(Server.java:516)
290 at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
291 at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
292 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
293 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
294 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
295 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
296 at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
297 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
298 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
299 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
300 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
301 at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
302 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
303 at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
304 at java.base/java.lang.Thread.run(Thread.java:833)
305org.apache.kafka.common.errors.SerializationException: Error retrieving JSON schema: {"$schema":"http://json-schema.org/draft-04/schema#","$defs":{"Book":{"title":"Book","type":"object","required":["name","isbn"],"properties":{"name":{"description":"name of the book","type":"string"},"isbn":{"description":"international standard book number","type":"integer","format":"int32"}}}},"title":"PersonV2Bad","type":"object","required":["name","age"],"properties":{"name":{"description":"name of the person","type":"string"},"age":{"description":"age of the person","type":"integer","format":"int32"},"booksRead":{"description":"A list of books that the person has read","type":"array","items":{"$ref":"#/$defs/Book"}}}}
306 at io.confluent.kafka.serializers.AbstractKafkaSchemaSerDe.toKafkaException(AbstractKafkaSchemaSerDe.java:805)
307 at io.confluent.kafka.serializers.json.AbstractKafkaJsonSchemaSerializer.serializeImpl(AbstractKafkaJsonSchemaSerializer.java:173)
308 at io.confluent.kafka.serializers.json.KafkaJsonSchemaSerializer.serialize(KafkaJsonSchemaSerializer.java:95)
309 at fs2.kafka.GenericSerializer$.delegate$$anonfun$1(Serializer.scala:84)
310 at fs2.kafka.GenericSerializer$$anon$1.serialize(Serializer.scala:127)
311 at fs2.kafka.GenericSerializer$$anon$1.contramap$$anonfun$1(Serializer.scala:131)
312 at fs2.kafka.GenericSerializer$$anon$1.serialize(Serializer.scala:127)
313 at fs2.kafka.GenericSerializer$$anon$1.suspend$$anonfun$1$$anonfun$1(Serializer.scala:147)
314 at defer @ fs2.kafka.GenericSerializer$$anon$1.suspend$$anonfun$1(Serializer.scala:147)
315 at defer @ weaver.Test$.apply$$anonfun$1$$anonfun$1(Test.scala:21)
316 at product$extension @ fs2.kafka.KafkaProducer$.serializeToBytes(KafkaProducer.scala:242)
317 at map @ fs2.kafka.KafkaProducer$.asJavaRecord(KafkaProducer.scala:259)
318 at flatMap @ fs2.kafka.KafkaProducer$.produceRecord$$anonfun$1(KafkaProducer.scala:209)
319 at map2 @ fs2.Chunk.loop$1(Chunk.scala:434)
320 at map @ fs2.Chunk.loop$1(Chunk.scala:437)
321 at map @ fs2.Chunk.traverse(Chunk.scala:458)
322 at map @ fs2.kafka.KafkaProducer$.produce$$anonfun$1(KafkaProducer.scala:180)
323 at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
324 at handleErrorWith @ fs2.Compiler$Target.handleErrorWith(Compiler.scala:161)
325 at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
326 at get @ fs2.internal.Scope.openScope(Scope.scala:275)
327 at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
328 at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
329Caused by: io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Schema not found; error code: 40403
330 at io.confluent.kafka.schemaregistry.client.rest.RestService.sendHttpRequest(RestService.java:336)
331 at io.confluent.kafka.schemaregistry.client.rest.RestService.httpRequest(RestService.java:409)
332 at io.confluent.kafka.schemaregistry.client.rest.RestService.lookUpSubjectVersion(RestService.java:500)
333 at io.confluent.kafka.schemaregistry.client.rest.RestService.lookUpSubjectVersion(RestService.java:485)
334 at io.confluent.kafka.schemaregistry.client.CachedSchemaRegistryClient.getIdFromRegistry(CachedSchemaRegistryClient.java:372)
335 at io.confluent.kafka.schemaregistry.client.CachedSchemaRegistryClient.getId(CachedSchemaRegistryClient.java:651)
336 at io.confluent.kafka.serializers.json.AbstractKafkaJsonSchemaSerializer.serializeImpl(AbstractKafkaJsonSchemaSerializer.java:155)
337 at io.confluent.kafka.serializers.json.KafkaJsonSchemaSerializer.serialize(KafkaJsonSchemaSerializer.java:95)
338 at fs2.kafka.GenericSerializer$.delegate$$anonfun$1(Serializer.scala:84)
339 at fs2.kafka.GenericSerializer$$anon$1.serialize(Serializer.scala:127)
340 at fs2.kafka.GenericSerializer$$anon$1.contramap$$anonfun$1(Serializer.scala:131)
341 at fs2.kafka.GenericSerializer$$anon$1.serialize(Serializer.scala:127)
342 at fs2.kafka.GenericSerializer$$anon$1.suspend$$anonfun$1$$anonfun$1(Serializer.scala:147)
343 at cats.effect.IOFiber.runLoop(IOFiber.scala:413)
344 at cats.effect.IOFiber.execR(IOFiber.scala:1362)
345 at cats.effect.IOFiber.run(IOFiber.scala:112)
346 at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:634)
347[info] io.kaizensolutions.jsonschema.JsonSchemaSerdesSpec
348[info] + JsonSchemaSerialization will automatically register the JSON Schema and allow you to send JSON data to Kafka 1s
349[info] + Enabling use latest (and disabling auto-registration) without configuring the client will fail 53ms
350[info] + Attempting to publish an incompatible change with auto-registration will fail 63ms
351[info] + Attempting to publish an incompatible change without auto-registration (using latest server schema) will fail 35ms
352[info] + Attempting to publish an incompatible change without auto-registration and not using the latest schema will fail 60ms
353[info] + Publishing a forward compatible change with auto-registration is allowed (in forward-compatibility mode) 153ms
354[info] + Reading data back from the topic with the latest schema is allowed provided you compensate for missing fields in your Decoder 3s
355[info] + Reading data back from the topic with an older schema is allowed 3s
356
357************************
358Build summary:
359[{
360 "module": "fs2-kafka-jsonschema",
361 "compile": {"status": "ok", "tookMs": 7701, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
362 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
363 "test-compile": {"status": "ok", "tookMs": 8712, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
364 "test": {"status": "ok", "tookMs": 18403, "passed": 8, "failed": 0, "ignored": 0, "skipped": 0, "total": 8, "byFramework": [{"framework": "unknown", "stats": {"passed": 8, "failed": 0, "ignored": 0, "skipped": 0, "total": 8}}]},
365 "publish": {"status": "skipped", "tookMs": 0},
366 "metadata": {
367 "crossScalaVersions": ["3.3.3"]
368}
369}]
370************************
371[success] Total time: 66 s (0:01:06.0), completed Dec 31, 2025, 10:30:30 PM
372[0JChecking patch project/plugins.sbt...
373Checking patch project/build.properties...
374Checking patch build.sbt...
375Applied patch project/plugins.sbt cleanly.
376Applied patch project/build.properties cleanly.
377Applied patch build.sbt cleanly.