incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Banawalikar, Omkar IN BLR SISL" <>
Subject RE: Sending Events outside s4
Date Thu, 05 Apr 2012 11:11:10 GMT
I have checked the code. The StringExample-conf.xml (app xml) is syntactically correct. I am
saying this because the first Client Adapter (this is the process which is using Driver connected
to default port 2334) is receiving events on both the streams. But the second Client Adapter
(This is also a process which is using Driver connected to port 2335. I have added made changes
to the client-stub-conf.xml and added a new Client stub) is not receiving any events. My first
process is using two separate Drivers connected to same port for sending and receiving events.
Second process is using one Driver connected to 2335 for only receiving the events from S4.
I am using the same StringExample-conf.xml for my app. In the StringExample-conf.xml, I have
mentioned that; send both the streams to all the client adapters. But only one Client adapters
is receiving the events.

What could be the problem, as the second process is not receiving any events on the streams??

From: Banawalikar, Omkar IN BLR SISL []
Sent: Wednesday, April 04, 2012 7:08 PM
Subject: Sending Events outside s4

My PE is sending all(two) streams from the S4 cluster to the Client Adapters. I have two Client
Adapters processes listening to two different ports. But only the AcknowledgeStream stream
is getting delivered and not the StringCounterStream. Is the below Xml file correct??? Is
the Multidispatcher  correctly for hashChecker bean correctly configured.

<bean id="hashChecker" class="pe.HashCodeMatcherPE">
                                <property name="dispatcher" ref="forkdispatcher2" />
                                <property name="keys">

<!-- added this code -->
                <bean id="forkdispatcher2" class="io.s4.dispatcher.MultiDispatcher">
                                <property name="dispatchers">
                                                                <bean id="selectiveDispatchToAdapter2"
name="dispatcher" ref="dispatcherToClientAdapters" />

Omkar Banawalikar

View raw message