Git Product home page Git Product logo

spring-cloud-cluster's Introduction

spring-cloud-cluster is no longer actively maintained by VMware, Inc.

This project is now superseded by code in Spring Integration. All the interfaces here have counterparts in the main Spring libraries, and the implementations are mostly parallel too (etcd is an exception because of the lack of support for v3 in third party libraries). The 1.0.1 release deprecates everything in favour of Spring Integration.

N.B. For Hazelcast the support is in an extension project.

Spring Cloud Cluster offers a set of primitives for building "cluster" features into a distributed system. Example are leadership election, consistent storage of cluster state, global locks and one-time tokens.

Building

Basic Compile and Test

To build the source you will need to install JDK 1.7.

Spring Cloud uses Maven for most build-related activities, and you should be able to get off the ground quite quickly by cloning the project you are interested in and typing

$ ./mvnw install
Note
You can also install Maven (>=3.3.3) yourself and run the mvn command in place of ./mvnw in the examples below. If you do that you also might need to add -P spring if your local Maven settings do not contain repository declarations for spring pre-release artifacts.
Note
Be aware that you might need to increase the amount of memory available to Maven by setting a MAVEN_OPTS environment variable with a value like -Xmx512m -XX:MaxPermSize=128m. We try to cover this in the .mvn configuration, so if you find you have to do it to make a build succeed, please raise a ticket to get the settings added to source control.

For hints on how to build the project look in .travis.yml if there is one. There should be a "script" and maybe "install" command. Also look at the "services" section to see if any services need to be running locally (e.g. mongo or rabbit). Ignore the git-related bits that you might find in "before_install" since they’re related to setting git credentials and you already have those.

The projects that require middleware generally include a docker-compose.yml, so consider using Docker Compose to run the middeware servers in Docker containers. See the README in the scripts demo repository for specific instructions about the common cases of mongo, rabbit and redis.

Note
If all else fails, build with the command from .travis.yml (usually ./mvnw install).

Documentation

The spring-cloud-build module has a "docs" profile, and if you switch that on it will try to build asciidoc sources from src/main/asciidoc. As part of that process it will look for a README.adoc and process it by loading all the includes, but not parsing or rendering it, just copying it to ${main.basedir} (defaults to ${basedir}, i.e. the root of the project). If there are any changes in the README it will then show up after a Maven build as a modified file in the correct place. Just commit it and push the change.

Working with the code

If you don’t have an IDE preference we would recommend that you use Spring Tools Suite or Eclipse when working with the code. We use the m2eclipe eclipse plugin for maven support. Other IDEs and tools should also work without issue as long as they use Maven 3.3.3 or better.

Importing into eclipse with m2eclipse

We recommend the m2eclipe eclipse plugin when working with eclipse. If you don’t already have m2eclipse installed it is available from the "eclipse marketplace".

Note
Older versions of m2e do not support Maven 3.3, so once the projects are imported into Eclipse you will also need to tell m2eclipse to use the right profile for the projects. If you see many different errors related to the POMs in the projects, check that you have an up to date installation. If you can’t upgrade m2e, add the "spring" profile to your settings.xml. Alternatively you can copy the repository settings from the "spring" profile of the parent pom into your settings.xml.

Importing into eclipse without m2eclipse

If you prefer not to use m2eclipse you can generate eclipse project metadata using the following command:

$ ./mvnw eclipse:eclipse

The generated eclipse projects can be imported by selecting import existing projects from the file menu.

Contributing

Spring Cloud is released under the non-restrictive Apache 2.0 license, and follows a very standard Github development process, using Github tracker for issues and merging pull requests into master. If you want to contribute even something trivial please do not hesitate, but follow the guidelines below.

Sign the Contributor License Agreement

Before we accept a non-trivial patch or pull request we will need you to sign the Contributor License Agreement. Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. Active contributors might be asked to join the core team, and given the ability to merge pull requests.

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].

Code Conventions and Housekeeping

None of these is essential for a pull request, but they will all help. They can also be added after the original pull request but before a merge.

  • Use the Spring Framework code format conventions. If you use Eclipse you can import formatter settings using the eclipse-code-formatter.xml file from the Spring Cloud Build project. If using IntelliJ, you can use the Eclipse Code Formatter Plugin to import the same file.

  • Make sure all new .java files to have a simple Javadoc class comment with at least an @author tag identifying you, and preferably at least a paragraph on what the class is for.

  • Add the ASF license header comment to all new .java files (copy from existing files in the project)

  • Add yourself as an @author to the .java files that you modify substantially (more than cosmetic changes).

  • Add some Javadocs and, if you change the namespace, some XSD doc elements.

  • A few unit tests would help a lot as well — someone has to do it.

  • If no-one else is using your branch, please rebase it against the current master (or other target branch in the main project).

  • When writing a commit message please follow these conventions, if you are fixing an existing issue please add Fixes gh-XXXX at the end of the commit message (where XXXX is the issue number).

spring-cloud-cluster's People

Contributors

garyrussell avatar jvalkeal avatar marcingrzejszczak avatar pperalta avatar spencergibb avatar sprgn avatar spring-operator avatar trevormarshall avatar venilnoronha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-cloud-cluster's Issues

Lack RedisLeaderAutoConfiguration

Chinese:你好,由于缺少了RedisLeaderAutoConfiguration,导致不能使用spring-cloud-cluster-redis开启集群选举。以后还会完善吗?谢谢。

English:Hello, due to the lack of RedisLeaderAutoConfiguration, spring-cloud-cluster-redis cannot be used to start cluster elections. Will it be improved in the future? Thanks.

Split Out Boot Dependencies

As discussed in slack, we need to split out the boot dependencies (configuration) into a separate project.

Currently, we can't depend on this project in Spring Integration because we'll end up with a circular dependency si->sccc->boot->si.

For now, I have copied the core components (Context, Candidate, events, LeaderInitiator) to SI so we can get a milestone out, but it would be preferable to have this refactoring done for the SI RC (mid-August).

LeaderEvent should be published before candidate.onGranted

The contract for Candidate.onGranted allows for implementations to use the thread invoking the method to perform leadership duties (and to avoid returning while acting as leader). This is similar to the contract of Curator's LeaderSelectorListener:

https://curator.apache.org/apidocs/org/apache/curator/framework/recipes/leader/LeaderSelectorListener.html

The JavaDoc for onGranted:

screen shot 2015-11-20 at 10 36 01 am

Recently we added application events that are raised on leadership granting/revoking. However, these events are being raised after invoking onGranted; for example:

candidate.onGranted(context);
if (leaderEventPublisher != null) {
    leaderEventPublisher.publishOnGranted(LeaderInitiator.this, context);
}

Since onGranted may hold up the thread, this would prevent the application event from being published.

Therefore, these events should be published before onGranted is invoked on the candidate.

Maven Dependency and small version problem with spring-redis-integration

Hi Alain,
I am happy that I found this source code on your github profile. I tested and it is doing perfect. I had a one issue and that was about my spring-redis-integration version. This code works very good with spring-redis-integration 4.1.4-RELEASE but it doesn't go through the second test on 4.1.6-RELEASE.
And if possible, could you please include a maven dependency so we can easily get this superb code.
Keep up the good work!

Send context events for leader election

Usually it's advisable for leader to stop all processing before leader accepts the role. Thought currently this is not exactly implemented.

I'd like to send leader app events via spring context so that specific components could react to these events. For example if it's not strictly enforced that components on different leader candidates should not run at a same time, more like these component should eventually run only on leader, listening events via spring context would be awesome.

i.e. two admin nodes handling long running scheduled jobs. Node1 running job(which can't be cancelled) is losing leader status and node2 is elected as a new leader. Node2 can then start to schedule same job as node1(technically same job would now run on two nodes because job on node1 couldn't be cancelled) but node1 knows that because it lost leader status, it should not reschedule.

In a perfect world node2 could not get leader status until node1 has finished its job but this use case is more like a relaxing these scenarios.

[Question] Cluster Consul

Hey folks,

I'd like to ask if there is any intention to revive the consul branch and add consul to the supported technologies?

BTW: I tried to integrate the branch in the state of the current master, but failed in doing so (due to some dependency errors that I cannot really get sorted).

Regards,
Mario

Yielding leadership in Hazelcast

Hello,

I have 2 nodes cluster managed by hazelcast v. 3.5.4 and spring-cloud-cluster-hazelcast v. 1.0.0.1.M1.
On first node I revoke leadership via JMX using DefaultCandidate.yieldLeadership() method and after revoking leadership, if first node became leader again without restart, calling DefaultCandidate.yieldLeadership() makes no effect. Node does not yield leadership more.

I analyzed sources and found what HazelcastContext#yield() method just cancels Future instance. And calling camcel() method on alredy canceled Future instance makes no effect.

In my oppinion, you should break while loop in LeaderInitiator.Initiator when InterruptedException occurs and submit a new LeaderInitiator.Initiator instance to executorService in HazelcastContext#yield method.

I can create pull request if necessary.
Thanks in advance

Create boot autoconfig for zk and hazelcast

We should rely on auto-configuration if spring-cloud-cluster-hazelcast or/and spring-cloud-cluster-zookeeper are in classpath.

We could follow same settings supported by XD for zookeeper:

zk:
  namespace: xd
  client:
    connect: node1:2181

Should add connection config for hazelcast also. Also possibly add spring.cloud.cluster.leader.enable property if leader election auto-config should be disabled.

Hazelcast leader initiator hangs when submit new initiator to executorService

Hello,

I have 2 nodes cluster managed by hazelcast v. 3.5.4 and spring-cloud-cluster-hazelcast v. 1.0.0.1.M1.
After nodes worked in cluster during some time leader node was shut down and I expected that second node will become leader (method onGranted of my leader candidate will be called). But it not happend after a while.

Looks like thread hanged on submit new initiator to executorService. Here is staktrace

2016-01-18 12:56:41

"Hazelcast leadership" - Thread t@153
   java.lang.Thread.State: WAITING
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <3dc44cf2> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

   Locked ownable synchronizers:
    - None

Can I fix it or is there any workarownd?
Thanks in advance

RFI

Would it be possible to give some indication about the stability of this component?

DefaultLockServiceLocator not properly synchronized

Access to org.springframework.cloud.cluster.lock.support.DefaultLockServiceLocator.mappings is unsynchronized, which could lead to visibility issues with added mappings or to ConcurrentModificationExceptions in match(). Changing from ArrayList to CopyOnWriteArrayList would be one good way to make the class thread-safe.

Zookeeper tests fail intermittently

-------------------------------------------------------------------------------
Test set: org.springframework.cloud.cluster.zk.leader.ZookeeperTests
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.639 sec <<< FAILURE! - in org.springframework.cloud.cluster.zk.leader.ZookeeperTests
testSimpleLeader(org.springframework.cloud.cluster.zk.leader.ZookeeperTests)  Time elapsed: 6.605 sec  <<< FAILURE!
java.lang.AssertionError: 
Expected: is <true>
     but: was <false>
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    at org.junit.Assert.assertThat(Assert.java:956)
    at org.junit.Assert.assertThat(Assert.java:923)
    at org.springframework.cloud.cluster.zk.leader.ZookeeperTests.testSimpleLeader(ZookeeperTests.java:58)
14:19:55.194 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
14:19:55.197 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
14:19:55.197 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
14:19:55.230 [main] INFO  o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@6cc4c815: startup date [Fri Oct 23 14:19:55 MDT 2015]; root of context hierarchy
14:19:55.231 [main] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Bean factory for org.springframework.context.annotation.AnnotationConfigApplicationContext@6cc4c815: org.springframework.beans.factory.support.DefaultListableBeanFactory@103f852: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,zookeeperTests.ZkServerConfig,zookeeperTests.Config1]; root of factory hierarchy
14:19:55.238 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
14:19:55.238 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
14:19:55.247 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references
14:19:55.248 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
14:19:55.276 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig.testingServerWrapper()
14:19:55.276 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.curatorClient()
14:19:55.277 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.initiator()
14:19:55.277 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.leaderEventPublisher()
14:19:55.278 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.testEventListener()
14:19:55.278 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.candidate()
14:19:55.332 [main] DEBUG o.s.c.a.ConfigurationClassEnhancer - Successfully enhanced org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig; enhanced class name is: org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig$$EnhancerBySpringCGLIB$$9a2e1e03
14:19:55.332 [main] DEBUG o.s.c.a.ConfigurationClassPostProcessor - Replacing bean definition 'zookeeperTests.ZkServerConfig' existing class name 'org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig' with enhanced class name 'org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig$$EnhancerBySpringCGLIB$$9a2e1e03'
14:19:55.335 [main] DEBUG o.s.c.a.ConfigurationClassEnhancer - Successfully enhanced org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1; enhanced class name is: org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1$$EnhancerBySpringCGLIB$$b2f2e576
14:19:55.335 [main] DEBUG o.s.c.a.ConfigurationClassPostProcessor - Replacing bean definition 'zookeeperTests.Config1' existing class name 'org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1' with enhanced class name 'org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1$$EnhancerBySpringCGLIB$$b2f2e576'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
14:19:55.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references
14:19:55.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
14:19:55.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
14:19:55.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
14:19:55.341 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references
14:19:55.341 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
14:19:55.341 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
14:19:55.341 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' to allow for resolving potential circular references
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' to allow for resolving potential circular references
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
14:19:55.343 [main] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@3c419631]
14:19:55.344 [main] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@3e92efc3]
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@103f852: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,zookeeperTests.ZkServerConfig,zookeeperTests.Config1,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,testingServerWrapper,curatorClient,initiator,leaderEventPublisher,testEventListener,candidate]; root of factory hierarchy
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
14:19:55.346 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor'
14:19:55.346 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.event.internalEventListenerProcessor'
14:19:55.349 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.event.internalEventListenerProcessor' to allow for resolving potential circular references
14:19:55.363 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.event.internalEventListenerProcessor'
14:19:55.364 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory'
14:19:55.364 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.event.internalEventListenerFactory'
14:19:55.364 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.event.internalEventListenerFactory' to allow for resolving potential circular references
14:19:55.365 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.event.internalEventListenerFactory'
14:19:55.365 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'zookeeperTests.ZkServerConfig'
14:19:55.365 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'zookeeperTests.ZkServerConfig'
14:19:55.366 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'zookeeperTests.ZkServerConfig' to allow for resolving potential circular references
14:19:55.368 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'zookeeperTests.ZkServerConfig'
14:19:55.368 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'zookeeperTests.Config1'
14:19:55.368 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'zookeeperTests.Config1'
14:19:55.372 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1$$EnhancerBySpringCGLIB$$b2f2e576]: AutowiredFieldElement for org.springframework.cloud.cluster.zk.leader.ZookeeperTests$TestingServerWrapper org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.testingServerWrapper
14:19:55.372 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'zookeeperTests.Config1' to allow for resolving potential circular references
14:19:55.373 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'zookeeperTests.Config1': AutowiredFieldElement for org.springframework.cloud.cluster.zk.leader.ZookeeperTests$TestingServerWrapper org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.testingServerWrapper
14:19:55.377 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'testingServerWrapper'
14:19:55.377 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'testingServerWrapper'
14:19:55.377 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.ZkServerConfig'
14:19:55.478 [Thread-0] INFO  o.a.z.server.ZooKeeperServerMain - Starting server
14:19:55.484 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:host.name=192.168.2.106
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:java.version=1.8.0_05
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:java.vendor=Oracle Corporation
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:java.class.path=/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper/target/test-classes:/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper/target/classes:/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-core/target/spring-cloud-cluster-core-1.0.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/spring-tx/4.2.2.RELEASE/spring-tx-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/spring-beans/4.2.2.RELEASE/spring-beans-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot/1.3.0.BUILD-SNAPSHOT/spring-boot-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/spring-context/4.2.2.RELEASE/spring-context-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/spring-aop/4.2.2.RELEASE/spring-aop-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/sgibb/.m2/repository/org/springframework/spring-expression/4.2.2.RELEASE/spring-expression-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.3.0.BUILD-SNAPSHOT/spring-boot-autoconfigure-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-logging-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar:/Users/sgibb/.m2/repository/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar:/Users/sgibb/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.12/jcl-over-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/slf4j/jul-to-slf4j/1.7.12/jul-to-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.12/log4j-over-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-configuration-processor/1.3.0.BUILD-SNAPSHOT/spring-boot-configuration-processor-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/json/json/20140107/json-20140107.jar:/Users/sgibb/.m2/repository/org/springframework/spring-core/4.2.2.RELEASE/spring-core-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-recipes/2.8.0/curator-recipes-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-framework/2.8.0/curator-framework-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-client/2.8.0/curator-client-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/sgibb/.m2/repository/org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.jar:/Users/sgibb/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/sgibb/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/sgibb/.m2/repository/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar:/Users/sgibb/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-test/2.8.0/curator-test-2.8.0.jar:/Users/sgibb/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar:/Users/sgibb/.m2/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter-test/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-test-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/sgibb/.m2/repository/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar:/Users/sgibb/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/Users/sgibb/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/sgibb/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/sgibb/.m2/repository/org/springframework/spring-test/4.2.2.RELEASE/spring-test-4.2.2.RELEASE.jar:
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:java.library.path=/Users/sgibb/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:java.io.tmpdir=/var/folders/wm/dkjggksx54gdp5q182dp4_fc0000gp/T/
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:java.compiler=<NA>
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:os.name=Mac OS X
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:os.arch=x86_64
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:os.version=10.11.1
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:user.name=sgibb
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:user.home=/Users/sgibb
14:19:55.485 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - Server environment:user.dir=/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper
14:19:55.487 [Thread-0] DEBUG o.a.z.s.persistence.FileTxnSnapLog - Opening datadir:/private/var/folders/wm/dkjggksx54gdp5q182dp4_fc0000gp/T/1445631595463-0 snapDir:/private/var/folders/wm/dkjggksx54gdp5q182dp4_fc0000gp/T/1445631595463-0
14:19:55.490 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - tickTime set to 3000
14:19:55.490 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - minSessionTimeout set to -1
14:19:55.490 [Thread-0] INFO  o.a.zookeeper.server.ZooKeeperServer - maxSessionTimeout set to -1
14:19:55.502 [Thread-0] INFO  o.a.z.server.NIOServerCnxnFactory - binding to port 0.0.0.0/0.0.0.0:64490
14:19:56.522 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'testingServerWrapper' to allow for resolving potential circular references
14:19:56.524 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'testingServerWrapper'
14:19:56.524 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'zookeeperTests.Config1' to bean named 'testingServerWrapper'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'zookeeperTests.Config1'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'testingServerWrapper'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'curatorClient'
14:19:56.526 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'curatorClient'
14:19:56.526 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.577 [main] INFO  o.a.c.f.imps.CuratorFrameworkImpl - Starting
14:19:56.578 [main] DEBUG o.a.curator.CuratorZookeeperClient - Starting
14:19:56.578 [main] DEBUG org.apache.curator.ConnectionState - Starting
14:19:56.578 [main] DEBUG org.apache.curator.ConnectionState - reset
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:host.name=192.168.2.106
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.8.0_05
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Oracle Corporation
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.class.path=/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper/target/test-classes:/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper/target/classes:/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-core/target/spring-cloud-cluster-core-1.0.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/spring-tx/4.2.2.RELEASE/spring-tx-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/spring-beans/4.2.2.RELEASE/spring-beans-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot/1.3.0.BUILD-SNAPSHOT/spring-boot-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/spring-context/4.2.2.RELEASE/spring-context-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/spring-aop/4.2.2.RELEASE/spring-aop-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/sgibb/.m2/repository/org/springframework/spring-expression/4.2.2.RELEASE/spring-expression-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.3.0.BUILD-SNAPSHOT/spring-boot-autoconfigure-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-logging-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar:/Users/sgibb/.m2/repository/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar:/Users/sgibb/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.12/jcl-over-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/slf4j/jul-to-slf4j/1.7.12/jul-to-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.12/log4j-over-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-configuration-processor/1.3.0.BUILD-SNAPSHOT/spring-boot-configuration-processor-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/json/json/20140107/json-20140107.jar:/Users/sgibb/.m2/repository/org/springframework/spring-core/4.2.2.RELEASE/spring-core-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-recipes/2.8.0/curator-recipes-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-framework/2.8.0/curator-framework-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-client/2.8.0/curator-client-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/sgibb/.m2/repository/org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.jar:/Users/sgibb/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/sgibb/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/sgibb/.m2/repository/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar:/Users/sgibb/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-test/2.8.0/curator-test-2.8.0.jar:/Users/sgibb/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar:/Users/sgibb/.m2/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter-test/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-test-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/sgibb/.m2/repository/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar:/Users/sgibb/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/Users/sgibb/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/sgibb/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/sgibb/.m2/repository/org/springframework/spring-test/4.2.2.RELEASE/spring-test-4.2.2.RELEASE.jar:
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.library.path=/Users/sgibb/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=/var/folders/wm/dkjggksx54gdp5q182dp4_fc0000gp/T/
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=<NA>
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:os.name=Mac OS X
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:os.arch=x86_64
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:os.version=10.11.1
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:user.name=sgibb
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:user.home=/Users/sgibb
14:19:56.581 [main] INFO  org.apache.zookeeper.ZooKeeper - Client environment:user.dir=/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper
14:19:56.582 [main] INFO  org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=localhost:64490 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@3f6b0be5
14:19:56.584 [main] DEBUG org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset is false
14:19:56.596 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'curatorClient' to allow for resolving potential circular references
14:19:56.598 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'curatorClient'
14:19:56.598 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'initiator'
14:19:56.599 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'initiator'
14:19:56.599 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.600 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'curatorClient'
14:19:56.600 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'candidate'
14:19:56.600 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'candidate'
14:19:56.600 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.607 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'candidate' to allow for resolving potential circular references
14:19:56.609 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'candidate'
14:19:56.609 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'leaderEventPublisher'
14:19:56.609 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'leaderEventPublisher'
14:19:56.609 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.610 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'leaderEventPublisher' to allow for resolving potential circular references
14:19:56.611 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'leaderEventPublisher'
14:19:56.612 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'initiator' to allow for resolving potential circular references
14:19:56.613 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'initiator'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'initiator'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'leaderEventPublisher'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'testEventListener'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'testEventListener'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.627 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'testEventListener' to allow for resolving potential circular references
14:19:56.628 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'testEventListener'
14:19:56.628 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'candidate'
14:19:56.628 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory'
14:19:56.636 [main] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@7a35b0f5]
14:19:56.636 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'initiator'
14:19:56.636 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'lifecycleProcessor'
14:19:56.638 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
14:19:56.639 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
14:19:56.639 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
14:19:56.640 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'candidate'
14:19:56.640 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'testEventListener'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.