In a previous PR: https://github.com/linkedin/rest.li/pull/835, there was a mistake that uses ZookeeperAnnouncer as a helper to emit service discovery status events for both server-side and client-side events (reference context about service discovery status events in the previous PR), but the announcer will only work for server-side events. This PR is to fix the client-side events for d2 client by adding the event emitter directly to ZookeeperEphemeralStore thru D2ClientConfig.
In a previous PR: https://github.com/linkedin/rest.li/pull/835, there was a mistake that uses ZookeeperAnnouncer as a helper to emit service discovery status events for both server-side and client-side events (reference context about service discovery status events in the previous PR), but the announcer will only work for server-side events. This PR is to fix the client-side events for d2 client by adding the event emitter directly to ZookeeperEphemeralStore thru D2ClientConfig.