introduced
into config-server pom.xml<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-kafka</artifactId>
</dependency>
the address of kafka specified in application.properties
spring.kafka.bootstrap-servers=10.211.55.8:9092
spring.cloud.stream.kafka.binder.zkNodes=10.211.55.8:2181
after startup, console output
Connected to the target VM, address: "127.0.0.1:54383", transport: "socket"
2018-06-09 09:23:00.277 INFO 8550 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@51891008: startup date [Sat Jun 09 09:23:00 CST 2018]; root of context hierarchy
2018-06-09 09:23:01.311 INFO 8550 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean "configurationPropertiesRebinderAutoConfiguration" of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$597d1cd3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
. ____ _ __ _ _
/\\ / ___"_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | "_ | "_| | "_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
" |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.10.RELEASE)
2018-06-09 09:23:01.958 INFO 8550 --- [ main] com.springboot.ConfigServerApplication : No active profile set, falling back to default profiles: default
2018-06-09 09:23:01.985 INFO 8550 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4c5204af: startup date [Sat Jun 09 09:23:01 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@51891008
2018-06-09 09:23:02.912 INFO 8550 --- [ main] o.s.i.config.IntegrationRegistrar : No bean named "integrationHeaderChannelRegistry" has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2018-06-09 09:23:03.841 INFO 8550 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=66d8b714-b8cd-3889-acc0-f553c5142737
2018-06-09 09:23:03.863 INFO 8550 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named "errorChannel" has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
2018-06-09 09:23:03.871 INFO 8550 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named "taskScheduler" has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created.
2018-06-09 09:23:04.018 INFO 8550 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean "org.springframework.kafka.annotation.KafkaBootstrapConfiguration" of type [org.springframework.kafka.annotation.KafkaBootstrapConfiguration$$EnhancerBySpringCGLIB$$11152b59] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-06-09 09:23:04.092 INFO 8550 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean "integrationGlobalProperties" of type [org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-06-09 09:23:04.106 INFO 8550 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean "integrationGlobalProperties" of type [java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-06-09 09:23:04.159 INFO 8550 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean "org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration" of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$597d1cd3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-06-09 09:23:04.176 INFO 8550 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean "org.springframework.cloud.stream.config.BindingServiceConfiguration$PostProcessorConfiguration" of type [org.springframework.cloud.stream.config.BindingServiceConfiguration$PostProcessorConfiguration$$EnhancerBySpringCGLIB$$ff2ab7db] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-06-09 09:23:04.792 INFO 8550 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 7001 (http)
2018-06-09 09:23:04.807 INFO 8550 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2018-06-09 09:23:04.809 INFO 8550 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.27
2018-06-09 09:23:04.963 INFO 8550 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2018-06-09 09:23:04.963 INFO 8550 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2979 ms
2018-06-09 09:23:05.430 INFO 8550 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: "dispatcherServlet" to [/]
2018-06-09 09:23:05.436 INFO 8550 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: "metricsFilter" to: [/*]
2018-06-09 09:23:05.436 INFO 8550 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: "characterEncodingFilter" to: [/*]
2018-06-09 09:23:05.436 INFO 8550 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: "hiddenHttpMethodFilter" to: [/*]
2018-06-09 09:23:05.437 INFO 8550 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: "httpPutFormContentFilter" to: [/*]
2018-06-09 09:23:05.437 INFO 8550 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: "requestContextFilter" to: [/*]
2018-06-09 09:23:05.437 INFO 8550 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: "webRequestLoggingFilter" to: [/*]
2018-06-09 09:23:05.437 INFO 8550 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: "applicationContextIdFilter" to: [/*]
2018-06-09 09:23:06.430 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4c5204af: startup date [Sat Jun 09 09:23:01 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@51891008
2018-06-09 09:23:06.588 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2018-06-09 09:23:06.591 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-06-09 09:23:06.650 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/encrypt],methods=[POST]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.encrypt(java.lang.String,org.springframework.http.MediaType)
2018-06-09 09:23:06.650 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/encrypt/{name}/{profiles}],methods=[POST]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.encrypt(java.lang.String,java.lang.String,java.lang.String,org.springframework.http.MediaType)
2018-06-09 09:23:06.652 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/decrypt/{name}/{profiles}],methods=[POST]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.decrypt(java.lang.String,java.lang.String,java.lang.String,org.springframework.http.MediaType)
2018-06-09 09:23:06.653 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/decrypt],methods=[POST]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.decrypt(java.lang.String,org.springframework.http.MediaType)
2018-06-09 09:23:06.654 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/encrypt/status],methods=[GET]}" onto public java.util.Map<java.lang.String, java.lang.Object> org.springframework.cloud.config.server.encryption.EncryptionController.status()
2018-06-09 09:23:06.654 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/key],methods=[GET]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.getPublicKey()
2018-06-09 09:23:06.655 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/key/{name}/{profiles}],methods=[GET]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.getPublicKey(java.lang.String,java.lang.String)
2018-06-09 09:23:06.667 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}-{profiles}.yml || /{name}-{profiles}.yaml],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.yaml(java.lang.String,java.lang.String,boolean) throws java.lang.Exception
2018-06-09 09:23:06.670 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}/{profiles:.*[^-].*}],methods=[GET]}" onto public org.springframework.cloud.config.environment.Environment org.springframework.cloud.config.server.environment.EnvironmentController.defaultLabel(java.lang.String,java.lang.String)
2018-06-09 09:23:06.671 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}-{profiles}.properties],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.properties(java.lang.String,java.lang.String,boolean) throws java.io.IOException
2018-06-09 09:23:06.672 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}/{profiles}/{label:.*}],methods=[GET]}" onto public org.springframework.cloud.config.environment.Environment org.springframework.cloud.config.server.environment.EnvironmentController.labelled(java.lang.String,java.lang.String,java.lang.String)
2018-06-09 09:23:06.674 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{label}/{name}-{profiles}.properties],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.labelledProperties(java.lang.String,java.lang.String,java.lang.String,boolean) throws java.io.IOException
2018-06-09 09:23:06.677 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}-{profiles}.json],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.jsonProperties(java.lang.String,java.lang.String,boolean) throws java.lang.Exception
2018-06-09 09:23:06.678 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{label}/{name}-{profiles}.json],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.labelledJsonProperties(java.lang.String,java.lang.String,java.lang.String,boolean) throws java.lang.Exception
2018-06-09 09:23:06.680 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{label}/{name}-{profiles}.yml || /{label}/{name}-{profiles}.yaml],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.labelledYaml(java.lang.String,java.lang.String,java.lang.String,boolean) throws java.lang.Exception
2018-06-09 09:23:06.687 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}/{profile}/{label}/**],methods=[GET]}" onto public java.lang.String org.springframework.cloud.config.server.resource.ResourceController.resolve(java.lang.String,java.lang.String,java.lang.String,javax.servlet.http.HttpServletRequest) throws java.io.IOException
2018-06-09 09:23:06.687 INFO 8550 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}/{profile}/{label}/**],methods=[GET],produces=[application/octet-stream]}" onto public synchronized byte[] org.springframework.cloud.config.server.resource.ResourceController.binary(java.lang.String,java.lang.String,java.lang.String,javax.servlet.http.HttpServletRequest) throws java.io.IOException
2018-06-09 09:23:06.848 INFO 8550 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-06-09 09:23:06.848 INFO 8550 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-06-09 09:23:07.000 INFO 8550 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-06-09 09:23:07.464 INFO 8550 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService "taskScheduler"
2018-06-09 09:23:08.353 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/restart || /restart.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.context.restart.RestartMvcEndpoint.invoke()
2018-06-09 09:23:08.355 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal)
2018-06-09 09:23:08.356 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/refresh || /refresh.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2018-06-09 09:23:08.356 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/resume || /resume.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2018-06-09 09:23:08.357 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/bus/env],methods=[POST]}" onto public void org.springframework.cloud.bus.endpoint.EnvironmentBusEndpoint.env(java.util.Map<java.lang.String, java.lang.String>,java.lang.String)
2018-06-09 09:23:08.357 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.value(java.util.Map<java.lang.String, java.lang.String>)
2018-06-09 09:23:08.358 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/reset],methods=[POST]}" onto public java.util.Map<java.lang.String, java.lang.Object> org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.reset()
2018-06-09 09:23:08.358 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:08.359 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:08.360 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:08.360 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
2018-06-09 09:23:08.361 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:08.361 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:08.362 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:08.362 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/pause || /pause.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2018-06-09 09:23:08.364 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException
2018-06-09 09:23:08.365 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:08.367 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String)
2018-06-09 09:23:08.368 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map<java.lang.String, java.lang.String>)
2018-06-09 09:23:08.368 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:08.369 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String)
2018-06-09 09:23:08.369 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:08.371 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity<?> org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String)
2018-06-09 09:23:08.371 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/bus/refresh],methods=[POST]}" onto public void org.springframework.cloud.bus.endpoint.RefreshBusEndpoint.refresh(java.lang.String)
2018-06-09 09:23:08.372 INFO 8550 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-06-09 09:23:09.175 INFO 8550 --- [ main] o.s.integration.channel.DirectChannel : Channel "config-server:7001.springCloudBusInput" has 1 subscriber(s).
2018-06-09 09:23:09.367 INFO 8550 --- [ main] o.s.i.codec.kryo.CompositeKryoRegistrar : configured Kryo registration [40, java.io.File] with serializer org.springframework.integration.codec.kryo.FileSerializer
2018-06-09 09:23:09.895 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2018-06-09 09:23:09.909 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "integrationMbeanExporter" has been autodetected for JMX exposure
2018-06-09 09:23:09.914 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "configurationPropertiesRebinder" has been autodetected for JMX exposure
2018-06-09 09:23:09.914 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "refreshEndpoint" has been autodetected for JMX exposure
2018-06-09 09:23:09.915 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "restartEndpoint" has been autodetected for JMX exposure
2018-06-09 09:23:09.916 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "refreshScope" has been autodetected for JMX exposure
2018-06-09 09:23:09.917 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "environmentManager" has been autodetected for JMX exposure
2018-06-09 09:23:09.918 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "environmentBusEndpoint" has been autodetected for JMX exposure
2018-06-09 09:23:09.919 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "refreshBusEndpoint" has been autodetected for JMX exposure
2018-06-09 09:23:09.923 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean "environmentManager": registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager]
2018-06-09 09:23:09.944 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean "environmentBusEndpoint": registering with JMX server as MBean [org.springframework.cloud.bus.endpoint:name=environmentBusEndpoint,type=EnvironmentBusEndpoint]
2018-06-09 09:23:09.951 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean "restartEndpoint": registering with JMX server as MBean [org.springframework.cloud.context.restart:name=restartEndpoint,type=RestartEndpoint]
2018-06-09 09:23:09.976 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean "refreshBusEndpoint": registering with JMX server as MBean [org.springframework.cloud.bus.endpoint:name=refreshBusEndpoint,type=RefreshBusEndpoint]
2018-06-09 09:23:09.981 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean "refreshScope": registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope]
2018-06-09 09:23:10.004 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean "integrationMbeanExporter": registering with JMX server as MBean [org.springframework.integration.monitor:name=integrationMbeanExporter,type=IntegrationMBeanExporter]
2018-06-09 09:23:10.154 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean "configurationPropertiesRebinder": registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=4c5204af,type=ConfigurationPropertiesRebinder]
2018-06-09 09:23:10.157 INFO 8550 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean "refreshEndpoint": registering with JMX server as MBean [org.springframework.cloud.endpoint:name=refreshEndpoint,type=RefreshEndpoint]
2018-06-09 09:23:10.174 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering beans for JMX exposure on startup
2018-06-09 09:23:10.174 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageChannel errorChannel
2018-06-09 09:23:10.180 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Located managed bean "org.springframework.integration:type=MessageChannel,name=errorChannel": registering with JMX server as MBean [org.springframework.integration:type=MessageChannel,name=errorChannel]
2018-06-09 09:23:10.293 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageChannel springCloudBusInput
2018-06-09 09:23:10.295 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Located managed bean "org.springframework.integration:type=MessageChannel,name=springCloudBusInput": registering with JMX server as MBean [org.springframework.integration:type=MessageChannel,name=springCloudBusInput]
2018-06-09 09:23:10.320 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageChannel springCloudBusOutput
2018-06-09 09:23:10.322 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Located managed bean "org.springframework.integration:type=MessageChannel,name=springCloudBusOutput": registering with JMX server as MBean [org.springframework.integration:type=MessageChannel,name=springCloudBusOutput]
2018-06-09 09:23:10.361 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageChannel nullChannel
2018-06-09 09:23:10.364 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Located managed bean "org.springframework.integration:type=MessageChannel,name=nullChannel": registering with JMX server as MBean [org.springframework.integration:type=MessageChannel,name=nullChannel]
2018-06-09 09:23:10.411 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageHandler errorLogger
2018-06-09 09:23:10.413 INFO 8550 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Located managed bean "org.springframework.integration:type=MessageHandler,name=errorLogger,bean=internal": registering with JMX server as MBean [org.springframework.integration:type=MessageHandler,name=errorLogger,bean=internal]
2018-06-09 09:23:10.716 INFO 8550 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase -2147482648
2018-06-09 09:23:10.818 INFO 8550 --- [ main] com.springboot.ConfigServerApplication : No active profile set, falling back to default profiles: default
2018-06-09 09:23:10.826 INFO 8550 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@a55e82a: startup date [Sat Jun 09 09:23:10 CST 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4c5204af
2018-06-09 09:23:10.924 INFO 8550 --- [ main] o.s.c.s.b.k.c.KafkaBinderConfiguration : AdminUtils selected: Kafka 0.9 AdminUtils
2018-06-09 09:23:11.031 INFO 8550 --- [ main] com.springboot.ConfigServerApplication : Started ConfigServerApplication in 0.303 seconds (JVM running for 13.023)
2018-06-09 09:23:11.093 INFO 8550 --- [ main] o.s.c.s.b.k.KafkaMessageChannelBinder : Using kafka topic for outbound: springCloudBus
2018-06-09 09:23:11.114 INFO 8550 --- [0.211.55.8:2181] org.I0Itec.zkclient.ZkEventThread : Starting ZkClient event thread.
2018-06-09 09:23:11.121 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
2018-06-09 09:23:11.121 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:host.name=localhost
2018-06-09 09:23:11.121 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.version=1.8.0_73
2018-06-09 09:23:11.121 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.vendor=Oracle Corporation
2018-06-09 09:23:11.121 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre
2018-06-09 09:23:11.121 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.class.
2018-06-09 09:23:11.122 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.library.path=/Users/jujunchen/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
2018-06-09 09:23:11.122 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.io.tmpdir=/var/folders/yn/wm9v4nrn4rgfqb2fcpw0q8580000gn/T/
2018-06-09 09:23:11.122 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.compiler=<NA>
2018-06-09 09:23:11.122 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.name=Mac OS X
2018-06-09 09:23:11.122 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.arch=x86_64
2018-06-09 09:23:11.122 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.version=10.12.6
2018-06-09 09:23:11.122 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.name=jujunchen
2018-06-09 09:23:11.122 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.home=/Users/jujunchen
2018-06-09 09:23:11.122 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.dir=/Volumes/mac2/javaprojects/spring-cloud
2018-06-09 09:23:11.124 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Initiating client connection, connectString=10.211.55.8:2181 sessionTimeout=10000 watcher=org.I0Itec.zkclient.ZkClient@153c6603
2018-06-09 09:23:11.146 INFO 8550 --- [ main] org.I0Itec.zkclient.ZkClient : Waiting for keeper state SyncConnected
2018-06-09 09:23:11.151 INFO 8550 --- [.211.55.8:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server 10.211.55.8/10.211.55.8:2181. Will not attempt to authenticate using SASL (unknown error)
2018-06-09 09:23:11.179 INFO 8550 --- [.211.55.8:2181)] org.apache.zookeeper.ClientCnxn : Socket connection established to 10.211.55.8/10.211.55.8:2181, initiating session
2018-06-09 09:23:11.196 INFO 8550 --- [.211.55.8:2181)] org.apache.zookeeper.ClientCnxn : Session establishment complete on server 10.211.55.8/10.211.55.8:2181, sessionid = 0x163baac48790045, negotiated timeout = 10000
2018-06-09 09:23:11.200 INFO 8550 --- [ain-EventThread] org.I0Itec.zkclient.ZkClient : zookeeper state changed (SyncConnected)
2018-06-09 09:23:12.113 INFO 8550 --- [0.211.55.8:2181] org.I0Itec.zkclient.ZkEventThread : Terminate ZkClient event thread.
2018-06-09 09:23:12.121 INFO 8550 --- [ main] org.apache.zookeeper.ZooKeeper : Session: 0x163baac48790045 closed
2018-06-09 09:23:12.121 INFO 8550 --- [ain-EventThread] org.apache.zookeeper.ClientCnxn : EventThread shut down
2018-06-09 09:23:12.145 INFO 8550 --- [ main] o.a.k.clients.producer.ProducerConfig : ProducerConfig values:
compression.type = none
metric.reporters = []
metadata.max.age.ms = 300000
metadata.fetch.timeout.ms = 60000
reconnect.backoff.ms = 50
sasl.kerberos.ticket.renew.window.factor = 0.8
bootstrap.servers = [localhost:9092]
retry.backoff.ms = 100
sasl.kerberos.kinit.cmd = /usr/bin/kinit
buffer.memory = 33554432
timeout.ms = 30000
key.serializer = class org.apache.kafka.common.serialization.ByteArraySerializer
sasl.kerberos.service.name = null
sasl.kerberos.ticket.renew.jitter = 0.05
ssl.keystore.type = JKS
ssl.trustmanager.algorithm = PKIX
block.on.buffer.full = false
ssl.key.password = null
max.block.ms = 60000
sasl.kerberos.min.time.before.relogin = 60000
connections.max.idle.ms = 540000
ssl.truststore.password = null
max.in.flight.requests.per.connection = 5
metrics.num.samples = 2
client.id =
ssl.endpoint.identification.algorithm = null
ssl.protocol = TLS
request.timeout.ms = 30000
ssl.provider = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
acks = 1
batch.size = 16384
ssl.keystore.location = null
receive.buffer.bytes = 32768
ssl.cipher.suites = null
ssl.truststore.type = JKS
security.protocol = PLAINTEXT
retries = 0
max.request.size = 1048576
value.serializer = class org.apache.kafka.common.serialization.ByteArraySerializer
ssl.truststore.location = null
ssl.keystore.password = null
ssl.keymanager.algorithm = SunX509
metrics.sample.window.ms = 30000
partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner
send.buffer.bytes = 131072
linger.ms = 0
2018-06-09 09:23:12.196 INFO 8550 --- [ main] o.a.kafka.common.utils.AppInfoParser : Kafka version : 0.9.0.1
2018-06-09 09:23:12.197 INFO 8550 --- [ main] o.a.kafka.common.utils.AppInfoParser : Kafka commitId : 23c69d62a0cabf06
2018-06-09 09:24:12.310 INFO 8550 --- [ main] o.a.k.clients.producer.ProducerConfig : ProducerConfig values:
compression.type = none
metric.reporters = []
metadata.max.age.ms = 300000
metadata.fetch.timeout.ms = 60000
reconnect.backoff.ms = 50
sasl.kerberos.ticket.renew.window.factor = 0.8
bootstrap.servers = [localhost:9092]
retry.backoff.ms = 100
sasl.kerberos.kinit.cmd = /usr/bin/kinit
buffer.memory = 33554432
timeout.ms = 30000
key.serializer = class org.apache.kafka.common.serialization.ByteArraySerializer
sasl.kerberos.service.name = null
sasl.kerberos.ticket.renew.jitter = 0.05
ssl.keystore.type = JKS
ssl.trustmanager.algorithm = PKIX
block.on.buffer.full = false
ssl.key.password = null
max.block.ms = 60000
sasl.kerberos.min.time.before.relogin = 60000
connections.max.idle.ms = 540000
ssl.truststore.password = null
max.in.flight.requests.per.connection = 5
metrics.num.samples = 2
client.id =
ssl.endpoint.identification.algorithm = null
ssl.protocol = TLS
request.timeout.ms = 30000
ssl.provider = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
acks = 1
batch.size = 16384
ssl.keystore.location = null
receive.buffer.bytes = 32768
ssl.cipher.suites = null
ssl.truststore.type = JKS
security.protocol = PLAINTEXT
retries = 0
max.request.size = 1048576
value.serializer = class org.apache.kafka.common.serialization.ByteArraySerializer
ssl.truststore.location = null
ssl.keystore.password = null
ssl.keymanager.algorithm = SunX509
metrics.sample.window.ms = 30000
partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner
send.buffer.bytes = 131072
linger.ms = 0
2018-06-09 09:24:12.315 INFO 8550 --- [ main] o.a.kafka.common.utils.AppInfoParser : Kafka version : 0.9.0.1
2018-06-09 09:24:12.315 INFO 8550 --- [ main] o.a.kafka.common.utils.AppInfoParser : Kafka commitId : 23c69d62a0cabf06
2018-06-09 09:25:12.522 INFO 8550 --- [ main] o.a.k.clients.producer.ProducerConfig : ProducerConfig values:
compression.type = none
metric.reporters = []
metadata.max.age.ms = 300000
metadata.fetch.timeout.ms = 60000
reconnect.backoff.ms = 50
sasl.kerberos.ticket.renew.window.factor = 0.8
bootstrap.servers = [localhost:9092]
retry.backoff.ms = 100
sasl.kerberos.kinit.cmd = /usr/bin/kinit
buffer.memory = 33554432
timeout.ms = 30000
key.serializer = class org.apache.kafka.common.serialization.ByteArraySerializer
sasl.kerberos.service.name = null
sasl.kerberos.ticket.renew.jitter = 0.05
ssl.keystore.type = JKS
ssl.trustmanager.algorithm = PKIX
block.on.buffer.full = false
ssl.key.password = null
max.block.ms = 60000
sasl.kerberos.min.time.before.relogin = 60000
connections.max.idle.ms = 540000
ssl.truststore.password = null
max.in.flight.requests.per.connection = 5
metrics.num.samples = 2
client.id =
ssl.endpoint.identification.algorithm = null
ssl.protocol = TLS
request.timeout.ms = 30000
ssl.provider = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
acks = 1
batch.size = 16384
ssl.keystore.location = null
receive.buffer.bytes = 32768
ssl.cipher.suites = null
ssl.truststore.type = JKS
security.protocol = PLAINTEXT
retries = 0
max.request.size = 1048576
value.serializer = class org.apache.kafka.common.serialization.ByteArraySerializer
ssl.truststore.location = null
ssl.keystore.password = null
ssl.keymanager.algorithm = SunX509
metrics.sample.window.ms = 30000
partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner
send.buffer.bytes = 131072
linger.ms = 0
2018-06-09 09:25:12.525 INFO 8550 --- [ main] o.a.kafka.common.utils.AppInfoParser : Kafka version : 0.9.0.1
2018-06-09 09:25:12.525 INFO 8550 --- [ main] o.a.kafka.common.utils.AppInfoParser : Kafka commitId : 23c69d62a0cabf06
2018-06-09 09:26:12.932 INFO 8550 --- [ main] o.a.k.clients.producer.ProducerConfig : ProducerConfig values:
compression.type = none
metric.reporters = []
metadata.max.age.ms = 300000
metadata.fetch.timeout.ms = 60000
reconnect.backoff.ms = 50
sasl.kerberos.ticket.renew.window.factor = 0.8
bootstrap.servers = [localhost:9092]
retry.backoff.ms = 100
sasl.kerberos.kinit.cmd = /usr/bin/kinit
buffer.memory = 33554432
timeout.ms = 30000
key.serializer = class org.apache.kafka.common.serialization.ByteArraySerializer
sasl.kerberos.service.name = null
sasl.kerberos.ticket.renew.jitter = 0.05
ssl.keystore.type = JKS
ssl.trustmanager.algorithm = PKIX
block.on.buffer.full = false
ssl.key.password = null
max.block.ms = 60000
sasl.kerberos.min.time.before.relogin = 60000
connections.max.idle.ms = 540000
ssl.truststore.password = null
max.in.flight.requests.per.connection = 5
metrics.num.samples = 2
client.id =
ssl.endpoint.identification.algorithm = null
ssl.protocol = TLS
request.timeout.ms = 30000
ssl.provider = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
acks = 1
batch.size = 16384
ssl.keystore.location = null
receive.buffer.bytes = 32768
ssl.cipher.suites = null
ssl.truststore.type = JKS
security.protocol = PLAINTEXT
retries = 0
max.request.size = 1048576
value.serializer = class org.apache.kafka.common.serialization.ByteArraySerializer
ssl.truststore.location = null
ssl.keystore.password = null
ssl.keymanager.algorithm = SunX509
metrics.sample.window.ms = 30000
partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner
send.buffer.bytes = 131072
linger.ms = 0
2018-06-09 09:26:12.936 INFO 8550 --- [ main] o.a.kafka.common.utils.AppInfoParser : Kafka version : 0.9.0.1
2018-06-09 09:26:12.936 INFO 8550 --- [ main] o.a.kafka.common.utils.AppInfoParser : Kafka commitId : 23c69d62a0cabf06
access the port display of the configuration server
localhost