Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 03.04 20:06:12.875 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7674f035: startup date [Wed Apr 03 20:06:12 MSK 2019]; root of context hierarchy
- 03.04 20:06:13.499 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- . ____ _ __ _ _
- /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |_\__, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v2.0.2.RELEASE)
- 03.04 20:06:14.937 INFO [PropertySourceBootstrapConfiguration:98] - Located property source: CompositePropertySource {name='consul', propertySources=[ConsulPropertySource {name='config/coupons-consumer-service-test,production/'}, ConsulPropertySource {name='config/coupons-consumer-service-test/'}, ConsulPropertySource {name='config/application,production/'}, ConsulPropertySource {name='config/application/'}]}
- 03.04 20:06:14.944 INFO [SpringApplication:663] - The following profiles are active: production
- 03.04 20:06:14.965 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@56276db8: startup date [Wed Apr 03 20:06:14 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7674f035
- 03.04 20:06:15.707 INFO [DefaultListableBeanFactory:824] - Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Generic; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]]
- 03.04 20:06:16.793 INFO [GenericScope:294] - BeanFactory id=923c5680-3b50-365b-8179-f7ea8fecaf69
- 03.04 20:06:16.846 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 03.04 20:06:17.432 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
- 03.04 20:06:17.456 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
- 03.04 20:06:17.471 INFO [DirectJDKLog:180] - Starting service [Tomcat]
- 03.04 20:06:17.472 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
- 03.04 20:06:17.488 INFO [DirectJDKLog:180] - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
- 03.04 20:06:17.591 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
- 03.04 20:06:17.592 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 2627 ms
- 03.04 20:06:17.939 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
- 03.04 20:06:17.940 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
- 03.04 20:06:17.963 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@760f2634
- 03.04 20:06:18.912 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
- 03.04 20:06:18.916 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
- 03.04 20:06:18.917 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 03.04 20:06:18.917 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 03.04 20:06:18.917 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
- 03.04 20:06:18.918 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
- 03.04 20:06:18.918 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
- 03.04 20:06:19.101 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
- 03.04 20:06:19.109 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
- 03.04 20:06:19.213 INFO [HikariDataSource:123] - HikariPool-1 - Start completed.
- 03.04 20:06:19.220 INFO [Slf4jLog:44] - Database: jdbc:postgresql://10.181.0.182:5432/coupons (PostgreSQL 11.2)
- 03.04 20:06:19.236 WARN [Slf4jLog:48] - Flyway upgrade recommended: PostgreSQL 11.2 is newer than this version of Flyway and support has not been tested.
- 03.04 20:06:19.282 INFO [Slf4jLog:44] - Successfully validated 3 migrations (execution time 00:00.021s)
- 03.04 20:06:19.296 INFO [Slf4jLog:44] - Current version of schema "public": 1.2
- 03.04 20:06:19.297 INFO [Slf4jLog:44] - Schema "public" is up to date. No migration necessary.
- 03.04 20:06:19.479 INFO [LocalContainerEntityManagerFactoryBean:361] - Building JPA container EntityManagerFactory for persistence unit 'default'
- 03.04 20:06:19.507 INFO [LogHelper:31] - HHH000204: Processing PersistenceUnitInfo [
- name: default
- ...]
- 03.04 20:06:19.653 INFO [Version:45] - HHH000412: Hibernate Core {5.2.17.Final}
- 03.04 20:06:19.655 INFO [Environment:213] - HHH000206: hibernate.properties not found
- 03.04 20:06:19.711 INFO [JavaReflectionManager:66] - HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
- 03.04 20:06:19.973 INFO [Dialect:157] - HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect
- 03.04 20:06:19.997 INFO [LobCreatorBuilderImpl:63] - HHH000422: Disabling contextual LOB creation as connection was null
- 03.04 20:06:19.999 INFO [BasicTypeRegistry:148] - HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@b606cb6
- 03.04 20:06:21.010 INFO [AbstractEntityManagerFactoryBean:415] - Initialized JPA EntityManagerFactory for persistence unit 'default'
- 03.04 20:06:21.596 INFO [QueryTranslatorFactoryInitiator:47] - HHH000397: Using ASTQueryTranslatorFactory
- 03.04 20:06:21.967 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
- 03.04 20:06:21.967 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
- 03.04 20:06:22.067 INFO [AbstractUrlHandlerMapping:373] - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
- 03.04 20:06:22.423 INFO [RequestMappingHandlerAdapter:574] - Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@56276db8: startup date [Wed Apr 03 20:06:14 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7674f035
- 03.04 20:06:22.497 WARN [JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration:235] - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
- 03.04 20:06:22.554 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
- 03.04 20:06:22.555 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
- 03.04 20:06:22.642 INFO [AbstractUrlHandlerMapping:373] - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
- 03.04 20:06:22.642 INFO [AbstractUrlHandlerMapping:373] - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
- 03.04 20:06:23.355 INFO [ExecutorConfigurationSupport:171] - Initializing ExecutorService 'catalogWatchTaskScheduler'
- 03.04 20:06:23.557 INFO [ExecutorConfigurationSupport:171] - Initializing ExecutorService 'configWatchTaskScheduler'
- 03.04 20:06:23.592 INFO [EndpointLinksResolver:59] - Exposing 2 endpoint(s) beneath base path '/actuator'
- 03.04 20:06:23.612 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/actuator/health],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
- 03.04 20:06:23.613 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/actuator/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
- 03.04 20:06:23.614 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/actuator],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto protected java.util.Map<java.lang.String, java.util.Map<java.lang.String, org.springframework.boot.actuate.endpoint.web.Link>> org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping.links(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
- 03.04 20:06:23.890 INFO [AbstractConfig:238] - ConsumerConfig values:
- auto.commit.interval.ms = 5000
- auto.offset.reset = earliest
- bootstrap.servers = [test.kafka.service.consul:9092]
- check.crcs = true
- client.id =
- connections.max.idle.ms = 540000
- enable.auto.commit = false
- exclude.internal.topics = true
- fetch.max.bytes = 52428800
- fetch.max.wait.ms = 10000
- fetch.min.bytes = 10240
- group.id = coupon-processing-consumer-group
- heartbeat.interval.ms = 3000
- interceptor.classes = null
- internal.leave.group.on.close = true
- isolation.level = read_uncommitted
- key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
- max.partition.fetch.bytes = 1048576
- max.poll.interval.ms = 300000
- max.poll.records = 10
- metadata.max.age.ms = 300000
- metric.reporters = []
- metrics.num.samples = 2
- metrics.recording.level = INFO
- metrics.sample.window.ms = 30000
- partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor]
- receive.buffer.bytes = 65536
- reconnect.backoff.max.ms = 1000
- reconnect.backoff.ms = 50
- request.timeout.ms = 305000
- retry.backoff.ms = 100
- sasl.jaas.config = null
- sasl.kerberos.kinit.cmd = /usr/bin/kinit
- sasl.kerberos.min.time.before.relogin = 60000
- sasl.kerberos.service.name = null
- sasl.kerberos.ticket.renew.jitter = 0.05
- sasl.kerberos.ticket.renew.window.factor = 0.8
- sasl.mechanism = GSSAPI
- security.protocol = PLAINTEXT
- send.buffer.bytes = 131072
- session.timeout.ms = 10000
- ssl.cipher.suites = null
- ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
- ssl.endpoint.identification.algorithm = null
- ssl.key.password = null
- ssl.keymanager.algorithm = SunX509
- ssl.keystore.location = null
- ssl.keystore.password = null
- ssl.keystore.type = JKS
- ssl.protocol = TLS
- ssl.provider = null
- ssl.secure.random.implementation = null
- ssl.trustmanager.algorithm = PKIX
- ssl.truststore.location = null
- ssl.truststore.password = null
- ssl.truststore.type = JKS
- value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
- 03.04 20:06:23.909 WARN [ClientUtils:54] - Removing server test.kafka.service.consul:9092 from bootstrap.servers as DNS resolution failed for test.kafka.service.consul
- 03.04 20:06:23.911 WARN [AbstractApplicationContext:558] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.kafka.config.internalKafkaListenerEndpointRegistry'; nested exception is org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
- 03.04 20:06:23.912 INFO [ExecutorConfigurationSupport:208] - Shutting down ExecutorService 'configWatchTaskScheduler'
- 03.04 20:06:23.914 INFO [ExecutorConfigurationSupport:208] - Shutting down ExecutorService 'catalogWatchTaskScheduler'
- 03.04 20:06:23.921 INFO [AbstractEntityManagerFactoryBean:597] - Closing JPA EntityManagerFactory for persistence unit 'default'
- 03.04 20:06:23.922 INFO [HikariDataSource:381] - HikariPool-1 - Shutdown initiated...
- 03.04 20:06:23.929 INFO [HikariDataSource:383] - HikariPool-1 - Shutdown completed.
- 03.04 20:06:23.933 INFO [DirectJDKLog:180] - Stopping service [Tomcat]
- 03.04 20:06:23.967 INFO [ConditionEvaluationReportLoggingListener:101] -
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 03.04 20:06:23.972 ERROR [SpringApplication:842] - Application run failed
- org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.kafka.config.internalKafkaListenerEndpointRegistry'; nested exception is org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
- at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:184)
- at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:52)
- at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356)
- at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:157)
- at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:121)
- at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:885)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:161)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at ru.crystals.processing.coupons.consumer.ConsumerApplication.main(ConsumerApplication.java:19)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
- Caused by: org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
- at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:789)
- at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:608)
- at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactory.java:139)
- at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactory.java:134)
- at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createConsumer(DefaultKafkaConsumerFactory.java:102)
- at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.<init>(KafkaMessageListenerContainer.java:425)
- at org.springframework.kafka.listener.KafkaMessageListenerContainer.doStart(KafkaMessageListenerContainer.java:259)
- at org.springframework.kafka.listener.AbstractMessageListenerContainer.start(AbstractMessageListenerContainer.java:269)
- at org.springframework.kafka.listener.ConcurrentMessageListenerContainer.doStart(ConcurrentMessageListenerContainer.java:163)
- at org.springframework.kafka.listener.AbstractMessageListenerContainer.start(AbstractMessageListenerContainer.java:269)
- at org.springframework.kafka.config.KafkaListenerEndpointRegistry.startIfNecessary(KafkaListenerEndpointRegistry.java:289)
- at org.springframework.kafka.config.KafkaListenerEndpointRegistry.start(KafkaListenerEndpointRegistry.java:238)
- at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:181)
- ... 22 common frames omitted
- Caused by: org.apache.kafka.common.config.ConfigException: No resolvable bootstrap urls given in bootstrap.servers
- at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:64)
- at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:706)
- ... 34 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement