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

Update versions in docker compose #215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mdedetrich
Copy link
Collaborator

Updates to latest versions

Signed-off-by: Matthew de Detrich <[email protected]>
@mdedetrich
Copy link
Collaborator Author

mdedetrich commented Aug 18, 2023

@adyach I think there is a regression in the latest version of the nakadi docker image, when I run locally inspecting the using docker logs I get

[2023-08-18 12:42:58.141Z] [ERROR] [null] [main] [org.zalando.nakadi.service.publishing.NakadiKpiPublisher] --- Error occurred when submitting KPI event for publishing org.zalando.nakadi.exceptions.runtime.NoSuchSchemaException: schema is not found for nakadi.event.type.log
        at org.zalando.nakadi.service.SchemaService.lambda$findLatestSchemaVersion$7(SchemaService.java:341)
        at java.base/java.util.Optional.orElseThrow(Optional.java:408)
        at org.zalando.nakadi.service.SchemaService.findLatestSchemaVersion(SchemaService.java:340)
        at org.zalando.nakadi.service.SchemaService.lambda$getAvroSchemaVersion$5(SchemaService.java:309)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705)
        at org.zalando.nakadi.service.SchemaService.getAvroSchemaVersion(SchemaService.java:307)
        at org.zalando.nakadi.service.publishing.NakadiKpiPublisher.publish(NakadiKpiPublisher.java:79)
        at org.zalando.nakadi.service.EventTypeService.create(EventTypeService.java:230)
        at org.zalando.nakadi.service.EventTypeService.createIfMissing(EventTypeService.java:269)
        at org.zalando.nakadi.service.SystemEventTypeInitializer.lambda$createEventTypesFromResource$0(SystemEventTypeInitializer.java:52)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
        at org.zalando.nakadi.service.SystemEventTypeInitializer.createEventTypesFromResource(SystemEventTypeInitializer.java:50)
        at org.zalando.nakadi.service.job.DiskUsageStatsJob.prepareEventType(DiskUsageStatsJob.java:63)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:448)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:339)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1365)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354)
        at org.zalando.nakadi.Application.main(Application.java:12)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
        at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467)

And as you can see from the running of the tests the sending/receiving of events aren't working.

I have attached the entire nakadi-docker-logs-output.txt all the way up until when client connection is closed (because the test fails)

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

1 participant