You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geode.apache.org by Dor Ben Dov <do...@amdocs.com> on 2016/03/16 10:32:21 UTC

RE: cache.xml

Barry,

I don’t see the bug for the issue below, can you file one ?


Regards,
Dor Ben Dov

From: Barry Oglesby [mailto:boglesby@pivotal.io]
Sent: יום ג 16 פברואר 2016 21:47
To: user@geode.incubator.apache.org
Subject: Re: cache.xml

I think I see the issue. The AsyncEventQueueCreation is not setting the gatewayEventSubstitutionFilter in its constructor. I'll file a bug and submit a fix for this.

Barry Oglesby
GemFire Advanced Customer Engineering (ACE)
For immediate support please contact Pivotal Support at http://support.pivotal.io/


On Tue, Feb 16, 2016 at 10:43 AM, Bruce Schuchardt <bs...@pivotal.io>> wrote:
Hi Dor,

I can see that GatewayEventSubstitutionFilter has been moved to open-source now, so the next milestone snapshot should contain it.  I'm not sure when that will be though.

Bruce
Le 2/16/2016 9:48 AM, Dor Ben Dov a écrit :
Anil,

When do you think Geode will have it, I want to check it .?
Dor

From: Anilkumar Gingade [mailto:agingade@pivotal.io]
Sent: יום ג 16 פברואר 2016 19:46
To: user@geode.incubator.apache.org<ma...@geode.incubator.apache.org>
Subject: Re: cache.xml

I am suspecting, since this is part of "WAN" functionality, which was not yet part of the Geode code base (when m2-snapshot created); it may not be working...This was added recently (as part of merging CQ and WAN functionality from closed to open source)....

Geode dev's correct me if i am wrong...

-Anil.












On Tue, Feb 16, 2016 at 7:56 AM, Dor Ben Dov <do...@amdocs.com>> wrote:
Hi,

We are having the following problem, need your assistance if you can,

Short description of the problem :

In the cache.xml configuration, we are using gateway-event-substitution-filter element that allow us to define implementation to the com.gemstone.gemfire.cache.wan.GatewayEventSubstitutionFilter,
this implementation allow us to choose the Object that we want to insert to the async queue.
This implementation should be called when doing put to the region before calling to the GatewayEventFilter implementation.

        <async-event-queue id="PWInfoQueue" persistent="false" parallel="true" batch-size="10"
        dispatcher-threads="1" order-policy="partition"
                disk-store-name="PWInfo-queue-overflow" maximum-queue-memory="256">
                <gateway-event-filter>
                        <class-name>listeners.PWInfoFilter</class-name>
                </gateway-event-filter>
                <gateway-event-substitution-filter>
                        <class-name>listeners.PWInfoSubstitutionFilter</class-name>
                </gateway-event-substitution-filter>
                <async-event-listener>
                        <class-name>listeners.PWInfoListener</class-name>
                </async-event-listener>
        </async-event-queue>

It seems that this functionality is missing from the M2-SNAPSHOT version , and our implementation is never called when doing put on the region.

Thanks,
Guy

This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp




Re: cache.xml

Posted by Barry Oglesby <bo...@pivotal.io>.
This issue is fixed in GEODE-967

https://issues.apache.org/jira/browse/GEODE-967

Thanks,
Barry Oglesby


On Wed, Mar 16, 2016 at 2:32 AM, Dor Ben Dov <do...@amdocs.com> wrote:

> Barry,
>
>
>
> I don’t see the bug for the issue below, can you file one ?
>
>
>
>
>
> Regards,
>
> Dor Ben Dov
>
>
>
> *From:* Barry Oglesby [mailto:boglesby@pivotal.io]
> *Sent:* יום ג 16 פברואר 2016 21:47
> *To:* user@geode.incubator.apache.org
> *Subject:* Re: cache.xml
>
>
>
> I think I see the issue. The AsyncEventQueueCreation is not setting the
> gatewayEventSubstitutionFilter in its constructor. I'll file a bug and
> submit a fix for this.
>
>
> Barry Oglesby
>
> GemFire Advanced Customer Engineering (ACE)
>
> For immediate support please contact Pivotal Support at
> http://support.pivotal.io/
>
>
>
>
>
> On Tue, Feb 16, 2016 at 10:43 AM, Bruce Schuchardt <bs...@pivotal.io>
> wrote:
>
> Hi Dor,
>
> I can see that GatewayEventSubstitutionFilter has been moved to
> open-source now, so the next milestone snapshot should contain it.  I'm not
> sure when that will be though.
>
> Bruce
>
> Le 2/16/2016 9:48 AM, Dor Ben Dov a écrit :
>
> Anil,
>
>
>
> When do you think Geode will have it, I want to check it .?
>
> Dor
>
>
>
> *From:* Anilkumar Gingade [mailto:agingade@pivotal.io
> <ag...@pivotal.io>]
> *Sent:* יום ג 16 פברואר 2016 19:46
> *To:* user@geode.incubator.apache.org
> *Subject:* Re: cache.xml
>
>
>
> I am suspecting, since this is part of "WAN" functionality, which was not
> yet part of the Geode code base (when m2-snapshot created); it may not be
> working...This was added recently (as part of merging CQ and WAN
> functionality from closed to open source)....
>
>
>
> Geode dev's correct me if i am wrong...
>
>
>
> -Anil.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Tue, Feb 16, 2016 at 7:56 AM, Dor Ben Dov <do...@amdocs.com>
> wrote:
>
> Hi,
>
>
>
> We are having the following problem, need your assistance if you can,
>
>
>
> *Short description of the problem :*
>
>
>
> In the cache.xml configuration, we are using
> gateway-event-substitution-filter element that allow us to define
> implementation to the
> com.gemstone.gemfire.cache.wan.GatewayEventSubstitutionFilter,
>
> this implementation allow us to choose the Object that we want to insert
> to the async queue.
>
> This implementation should be called when doing put to the region before
> calling to the GatewayEventFilter implementation.
>
>
>
>         <async-event-queue id="PWInfoQueue" persistent="false"
> parallel="true" batch-size="10"
>
>         dispatcher-threads="1" order-policy="partition"
>
>                 disk-store-name="PWInfo-queue-overflow"
> maximum-queue-memory="256">
>
>                 <gateway-event-filter>
>
>                         <class-name>listeners.PWInfoFilter</class-name>
>
>                 </gateway-event-filter>
>
>                 <gateway-event-substitution-filter>
>
>
> <class-name>listeners.PWInfoSubstitutionFilter</class-name>
>
>                 </gateway-event-substitution-filter>
>
>                 <async-event-listener>
>
>                         <class-name>listeners.PWInfoListener</class-name>
>
>                 </async-event-listener>
>
>         </async-event-queue>
>
>
>
> It seems that this functionality is missing from the M2-SNAPSHOT version ,
> and our implementation is never called when doing put on the region.
>
>
>
> Thanks,
>
> Guy
>
>
>
> This message and the information contained herein is proprietary and
> confidential and subject to the Amdocs policy statement, you may review at
> http://www.amdocs.com/email_disclaimer.asp
>
>
>
>
>
>
>