You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by Zack Culberson <Za...@albertsons.com> on 2025/01/27 22:53:13 UTC
JMSIO support
Hi all,
I was wondering if anyone would know, we are using the JMS IO read to read from 3 IBM MQ's. We setup the job to have a configurable amount of readers, which right now is 9 so three readers per mq. Our question came that at one point we were seeing the number of connections for one of our Queue managers was going up to 2000 connections but all of the messages were going to another Queue Manager whose connections stayed at about a constant 100. Could some one help me understand why that is and does the JMS leave the connection open when it connects to read or does it open and close every time it connects ?
Thank you
Zack Culberson
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
Re: EXTERNAL Email: Re: JMSIO support
Posted by Sam Whittle via user <us...@beam.apache.org>.
I see that there is an issue with caching of UnboundedReaders in the
UnboundedSourceAsSdfWrapper which is used by the v2 dataflow runner for
executing UnboundedSources (which JMS source is).
This is https://github.com/apache/beam/issues/32968.
This could result in more connections as each DoFn is separately
maintaining a cache and there is not affinity on a worker between cached
DoFn instances and SDF splits scheduled. I am sending out
https://github.com/apache/beam/pull/33901 to share the cache across dofn
instances of the same step within a worker.
Another issue that I see is that the sources hands off Session and consumer
to generated checkpoints.
https://github.com/apache/beam/blob/master/sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/JmsIO.java#L763
If the checkpoint is finalized then the session and consumer are closed
after acknowledging the message:
https://github.com/apache/beam/blob/master/sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/JmsCheckpointMark.java#L61
This works well in the happy case where checkpoints are finalized but
appears that it will leak sessions and consumers if the checkpoint is
unsuccessful and the finalize method is never called.
https://github.com/apache/beam/blob/9dd1f684a4f7733fac4634c35733d7aa03b72539/sdks/java/core/src/main/java/org/apache/beam/sdk/io/UnboundedSource.java#L139
This can occur in dataflow if the commit to the service fails for various
reasons such as load-balancing, autoscaling, retries etc.
This seems like a limitation in the CheckpointMark interface. SDKs and
runners may know when a checkpoint fails explicitly or may give up on
caching a checkpoint for possible finalization after a timeout.
In either case they could explicitly notify the CheckpointMark that it is
being abandoned. A workaround would be to have a static set of pending
checkpoint marks and some timeout/nack that JMSIO manages itself.
On Tue, Jan 28, 2025 at 10:20 PM Radek Stankiewicz via user <
user@beam.apache.org> wrote:
> Zack,
>
> Below you can find some code snippets for autoscaler.
>
> https://github.com/tilgalas/ibm-mq-sample - my coworker recently released
> this
>
>
> https://github.com/tilgalas/ibm-mq-sample/blob/main/jms-pipeline/src/main/java/com/google/dce/pipelines/PipelineBuilders.java#L37 -
> jms IO setup, message size observer
>
> https://github.com/tilgalas/ibm-mq-sample/blob/main/jms-pipeline/src/main/java/com/google/dce/autoscaler/RestAutoScaler.java -
> autoscaler
>
> https://github.com/tilgalas/ibm-mq-sample/blob/main/jms-pipeline/src/main/java/com/google/dce/metrics/AverageMetric.java -
> moving average
>
> https://github.com/tilgalas/ibm-mq-sample/blob/main/jms-pipeline/src/main/java/com/google/dce/globals/GuiceInitializer.java -
> a bit of bagic/plumbing how to calculate average payload size
>
> Would you be able to try the pipeline with Runner v1?
> Feel free to raise a support case to Google Cloud to get more help with
> debugging this issue.
>
> Radek
>
>
> On Tue, Jan 28, 2025 at 9:12 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
>
>> I'm very sorry, I was not active for a while on Beam (my bad). But I'm
>> still happy to help. I will read the whole thread first :)
>>
>> Regards
>> JB
>>
>> On Tue, Jan 28, 2025 at 9:00 PM Radek Stankiewicz <ra...@google.com>
>> wrote:
>> >
>> > Hi JB,
>> >
>> > Thanks for that!
>> >
>> > Zack, I think you need to implement autoscaler otherwise Dataflow won't
>> know how to move splits between the workers.
>> > In your pipeline, have you noticed any imbalance between the workers?
>> >
>> >
>> >
>> > Radek
>> >
>> > wt., 28 sty 2025, 20:54 użytkownik Jean-Baptiste Onofré <
>> jb@nanthrax.net> napisał:
>> >>
>> >> Hi
>> >>
>> >> Sorry for jumping late on this thread :)
>> >> As I worked on the JmsIO while ago (I'm the original author :)), happy
>> >> to help if I can.
>> >>
>> >> Regards
>> >> JB
>> >>
>> >> On Tue, Jan 28, 2025 at 6:10 PM Zack Culberson
>> >> <Za...@albertsons.com> wrote:
>> >> >
>> >> > Hi Radek,
>> >> >
>> >> > I wouldn’t say it was empty but the queue was receiving about a 1/3
>> to ¼ of the message one of the other Queue Managers was getting. But those
>> connections were still going up. I am using dataflow runner v2 and 2.61
>> sdk. We saw the connections on MeshIq which we use to monitor the queues
>> and see connection count and if there are any stuck messages.
>> >> >
>> >> > thank you
>> >> >
>> >> > Zack Culberson
>> >> >
>> >> >
>> >> >
>> >> > From: Radek Stankiewicz <ra...@google.com>
>> >> > Sent: Tuesday, January 28, 2025 9:15 AM
>> >> > To: Ahmet Altay <al...@google.com>
>> >> > Cc: user@beam.apache.org; Yi Hu <ya...@google.com>; Zack Culberson <
>> Zack.Culberson@albertsons.com>
>> >> > Subject: EXTERNAL Email: Re: JMSIO support
>> >> >
>> >> >
>> >> >
>> >> > hey Zack,
>> >> >
>> >> > JMSIO reader reads messages in a loop and it looks like whenever
>> there is a checkpoint Beam recreates the connection. Maybe it takes some
>> time for the driver and MQ to finalize the connection.
>> >> >
>> >> > Can you confirm which dataflow runner and sdk you are using?
>> >> >
>> >> > When you observed 2000 connections, do I understand correctly that
>> this QM had empty queues?
>> >> >
>> >> > Were 2000 connections reported by QM monitoring?
>> >> >
>> >> >
>> >> >
>> >> > Radek
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com>
>> wrote:
>> >> >
>> >> > I do not know the answer. Adding @Radek Stankiewicz & @Yi Hu in case
>> they might be able to help.
>> >> >
>> >> >
>> >> >
>> >> > On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <
>> Zack.Culberson@albertsons.com> wrote:
>> >> >
>> >> > Hi all,
>> >> >
>> >> > I was wondering if anyone would know, we are using the JMS IO read
>> to read from 3 IBM MQ’s. We setup the job to have a configurable amount of
>> readers, which right now is 9 so three readers per mq. Our question came
>> that at one point we were seeing the number of connections for one of our
>> Queue managers was going up to 2000 connections but all of the messages
>> were going to another Queue Manager whose connections stayed at about a
>> constant 100. Could some one help me understand why that is and does the
>> JMS leave the connection open when it connects to read or does it open and
>> close every time it connects ?
>> >> >
>> >> > Thank you
>> >> >
>> >> >
>> >> >
>> >> > Zack Culberson
>> >> >
>> >> >
>> >> >
>> >> > ________________________________
>> >> >
>> >> > Warning: All e-mail sent to this address will be received by the
>> corporate e-mail system, and is subject to archival and review by someone
>> other than the recipient. This e-mail may contain proprietary information
>> and is intended only for the use of the intended recipient(s). If the
>> reader of this message is not the intended recipient(s), you are notified
>> that you have received this message in error and that any review,
>> dissemination, distribution or copying of this message is strictly
>> prohibited. If you have received this message in error, please notify the
>> sender immediately.
>> >> >
>> >> > ________________________________
>> >> >
>> >> > ________________________________
>> >> > Warning: All e-mail sent to this address will be received by the
>> corporate e-mail system, and is subject to archival and review by someone
>> other than the recipient. This e-mail may contain proprietary information
>> and is intended only for the use of the intended recipient(s). If the
>> reader of this message is not the intended recipient(s), you are notified
>> that you have received this message in error and that any review,
>> dissemination, distribution or copying of this message is strictly
>> prohibited. If you have received this message in error, please notify the
>> sender immediately.
>> >> > ________________________________
>>
>
Re: EXTERNAL Email: Re: JMSIO support
Posted by Radek Stankiewicz via user <us...@beam.apache.org>.
Zack,
Below you can find some code snippets for autoscaler.
https://github.com/tilgalas/ibm-mq-sample - my coworker recently released
this
https://github.com/tilgalas/ibm-mq-sample/blob/main/jms-pipeline/src/main/java/com/google/dce/pipelines/PipelineBuilders.java#L37
-
jms IO setup, message size observer
https://github.com/tilgalas/ibm-mq-sample/blob/main/jms-pipeline/src/main/java/com/google/dce/autoscaler/RestAutoScaler.java
-
autoscaler
https://github.com/tilgalas/ibm-mq-sample/blob/main/jms-pipeline/src/main/java/com/google/dce/metrics/AverageMetric.java
-
moving average
https://github.com/tilgalas/ibm-mq-sample/blob/main/jms-pipeline/src/main/java/com/google/dce/globals/GuiceInitializer.java
-
a bit of bagic/plumbing how to calculate average payload size
Would you be able to try the pipeline with Runner v1?
Feel free to raise a support case to Google Cloud to get more help with
debugging this issue.
Radek
On Tue, Jan 28, 2025 at 9:12 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
wrote:
> I'm very sorry, I was not active for a while on Beam (my bad). But I'm
> still happy to help. I will read the whole thread first :)
>
> Regards
> JB
>
> On Tue, Jan 28, 2025 at 9:00 PM Radek Stankiewicz <ra...@google.com>
> wrote:
> >
> > Hi JB,
> >
> > Thanks for that!
> >
> > Zack, I think you need to implement autoscaler otherwise Dataflow won't
> know how to move splits between the workers.
> > In your pipeline, have you noticed any imbalance between the workers?
> >
> >
> >
> > Radek
> >
> > wt., 28 sty 2025, 20:54 użytkownik Jean-Baptiste Onofré <jb...@nanthrax.net>
> napisał:
> >>
> >> Hi
> >>
> >> Sorry for jumping late on this thread :)
> >> As I worked on the JmsIO while ago (I'm the original author :)), happy
> >> to help if I can.
> >>
> >> Regards
> >> JB
> >>
> >> On Tue, Jan 28, 2025 at 6:10 PM Zack Culberson
> >> <Za...@albertsons.com> wrote:
> >> >
> >> > Hi Radek,
> >> >
> >> > I wouldn’t say it was empty but the queue was receiving about a 1/3
> to ¼ of the message one of the other Queue Managers was getting. But those
> connections were still going up. I am using dataflow runner v2 and 2.61
> sdk. We saw the connections on MeshIq which we use to monitor the queues
> and see connection count and if there are any stuck messages.
> >> >
> >> > thank you
> >> >
> >> > Zack Culberson
> >> >
> >> >
> >> >
> >> > From: Radek Stankiewicz <ra...@google.com>
> >> > Sent: Tuesday, January 28, 2025 9:15 AM
> >> > To: Ahmet Altay <al...@google.com>
> >> > Cc: user@beam.apache.org; Yi Hu <ya...@google.com>; Zack Culberson <
> Zack.Culberson@albertsons.com>
> >> > Subject: EXTERNAL Email: Re: JMSIO support
> >> >
> >> >
> >> >
> >> > hey Zack,
> >> >
> >> > JMSIO reader reads messages in a loop and it looks like whenever
> there is a checkpoint Beam recreates the connection. Maybe it takes some
> time for the driver and MQ to finalize the connection.
> >> >
> >> > Can you confirm which dataflow runner and sdk you are using?
> >> >
> >> > When you observed 2000 connections, do I understand correctly that
> this QM had empty queues?
> >> >
> >> > Were 2000 connections reported by QM monitoring?
> >> >
> >> >
> >> >
> >> > Radek
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com> wrote:
> >> >
> >> > I do not know the answer. Adding @Radek Stankiewicz & @Yi Hu in case
> they might be able to help.
> >> >
> >> >
> >> >
> >> > On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <
> Zack.Culberson@albertsons.com> wrote:
> >> >
> >> > Hi all,
> >> >
> >> > I was wondering if anyone would know, we are using the JMS IO read to
> read from 3 IBM MQ’s. We setup the job to have a configurable amount of
> readers, which right now is 9 so three readers per mq. Our question came
> that at one point we were seeing the number of connections for one of our
> Queue managers was going up to 2000 connections but all of the messages
> were going to another Queue Manager whose connections stayed at about a
> constant 100. Could some one help me understand why that is and does the
> JMS leave the connection open when it connects to read or does it open and
> close every time it connects ?
> >> >
> >> > Thank you
> >> >
> >> >
> >> >
> >> > Zack Culberson
> >> >
> >> >
> >> >
> >> > ________________________________
> >> >
> >> > Warning: All e-mail sent to this address will be received by the
> corporate e-mail system, and is subject to archival and review by someone
> other than the recipient. This e-mail may contain proprietary information
> and is intended only for the use of the intended recipient(s). If the
> reader of this message is not the intended recipient(s), you are notified
> that you have received this message in error and that any review,
> dissemination, distribution or copying of this message is strictly
> prohibited. If you have received this message in error, please notify the
> sender immediately.
> >> >
> >> > ________________________________
> >> >
> >> > ________________________________
> >> > Warning: All e-mail sent to this address will be received by the
> corporate e-mail system, and is subject to archival and review by someone
> other than the recipient. This e-mail may contain proprietary information
> and is intended only for the use of the intended recipient(s). If the
> reader of this message is not the intended recipient(s), you are notified
> that you have received this message in error and that any review,
> dissemination, distribution or copying of this message is strictly
> prohibited. If you have received this message in error, please notify the
> sender immediately.
> >> > ________________________________
>
Re: EXTERNAL Email: Re: JMSIO support
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I'm very sorry, I was not active for a while on Beam (my bad). But I'm
still happy to help. I will read the whole thread first :)
Regards
JB
On Tue, Jan 28, 2025 at 9:00 PM Radek Stankiewicz <ra...@google.com> wrote:
>
> Hi JB,
>
> Thanks for that!
>
> Zack, I think you need to implement autoscaler otherwise Dataflow won't know how to move splits between the workers.
> In your pipeline, have you noticed any imbalance between the workers?
>
>
>
> Radek
>
> wt., 28 sty 2025, 20:54 użytkownik Jean-Baptiste Onofré <jb...@nanthrax.net> napisał:
>>
>> Hi
>>
>> Sorry for jumping late on this thread :)
>> As I worked on the JmsIO while ago (I'm the original author :)), happy
>> to help if I can.
>>
>> Regards
>> JB
>>
>> On Tue, Jan 28, 2025 at 6:10 PM Zack Culberson
>> <Za...@albertsons.com> wrote:
>> >
>> > Hi Radek,
>> >
>> > I wouldn’t say it was empty but the queue was receiving about a 1/3 to ¼ of the message one of the other Queue Managers was getting. But those connections were still going up. I am using dataflow runner v2 and 2.61 sdk. We saw the connections on MeshIq which we use to monitor the queues and see connection count and if there are any stuck messages.
>> >
>> > thank you
>> >
>> > Zack Culberson
>> >
>> >
>> >
>> > From: Radek Stankiewicz <ra...@google.com>
>> > Sent: Tuesday, January 28, 2025 9:15 AM
>> > To: Ahmet Altay <al...@google.com>
>> > Cc: user@beam.apache.org; Yi Hu <ya...@google.com>; Zack Culberson <Za...@albertsons.com>
>> > Subject: EXTERNAL Email: Re: JMSIO support
>> >
>> >
>> >
>> > hey Zack,
>> >
>> > JMSIO reader reads messages in a loop and it looks like whenever there is a checkpoint Beam recreates the connection. Maybe it takes some time for the driver and MQ to finalize the connection.
>> >
>> > Can you confirm which dataflow runner and sdk you are using?
>> >
>> > When you observed 2000 connections, do I understand correctly that this QM had empty queues?
>> >
>> > Were 2000 connections reported by QM monitoring?
>> >
>> >
>> >
>> > Radek
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com> wrote:
>> >
>> > I do not know the answer. Adding @Radek Stankiewicz & @Yi Hu in case they might be able to help.
>> >
>> >
>> >
>> > On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <Za...@albertsons.com> wrote:
>> >
>> > Hi all,
>> >
>> > I was wondering if anyone would know, we are using the JMS IO read to read from 3 IBM MQ’s. We setup the job to have a configurable amount of readers, which right now is 9 so three readers per mq. Our question came that at one point we were seeing the number of connections for one of our Queue managers was going up to 2000 connections but all of the messages were going to another Queue Manager whose connections stayed at about a constant 100. Could some one help me understand why that is and does the JMS leave the connection open when it connects to read or does it open and close every time it connects ?
>> >
>> > Thank you
>> >
>> >
>> >
>> > Zack Culberson
>> >
>> >
>> >
>> > ________________________________
>> >
>> > Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
>> >
>> > ________________________________
>> >
>> > ________________________________
>> > Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
>> > ________________________________
RE: EXTERNAL Email: Re: JMSIO support
Posted by Zack Culberson <Za...@albertsons.com>.
Hi JB, I will take any help I can get !
I haven’t seen an uneven amount of worker or that it is imbalanced but I do know it is not operating at 100% as we don’t have a reshuffle step since every time we have tried data is stuck. Both workers hover around 20% in CPU utilization. Do you happen to have any example auto scaler to look at ? If I have two flows it seems to function fine but I believe one flow should be enough to handle the throughput we are expecting at about 400k msg/hr. As shown in the pictures before I am trying to understand too how it is determining to increase connections as something I have seen is one reader for our 2nd mq gets behind but the connections don’t increase for that mq though the throughput is still coming in, but for our third queue we had over double the number of connections though it had no waiting messages. @Radek Stankiewicz<ma...@google.com> if you have any example Auto Scaler I will look at and see if I can implement and see the performance as well.
Thank you
Zack Culberson
From: Radek Stankiewicz <ra...@google.com>
Sent: Tuesday, January 28, 2025 1:00 PM
To: Jean-Baptiste Onofré <jb...@nanthrax.net>; Zack Culberson <Za...@albertsons.com>
Cc: user@beam.apache.org; Ahmet Altay <al...@google.com>
Subject: Re: EXTERNAL Email: Re: JMSIO support
Hi JB,
Thanks for that!
Zack, I think you need to implement autoscaler otherwise Dataflow won't know how to move splits between the workers.
In your pipeline, have you noticed any imbalance between the workers?
Radek
wt., 28 sty 2025, 20:54 użytkownik Jean-Baptiste Onofré <jb...@nanthrax.net>> napisał:
Hi
Sorry for jumping late on this thread :)
As I worked on the JmsIO while ago (I'm the original author :)), happy
to help if I can.
Regards
JB
On Tue, Jan 28, 2025 at 6:10 PM Zack Culberson
<Za...@albertsons.com>> wrote:
>
> Hi Radek,
>
> I wouldn’t say it was empty but the queue was receiving about a 1/3 to ¼ of the message one of the other Queue Managers was getting. But those connections were still going up. I am using dataflow runner v2 and 2.61 sdk. We saw the connections on MeshIq which we use to monitor the queues and see connection count and if there are any stuck messages.
>
> thank you
>
> Zack Culberson
>
>
>
> From: Radek Stankiewicz <ra...@google.com>>
> Sent: Tuesday, January 28, 2025 9:15 AM
> To: Ahmet Altay <al...@google.com>>
> Cc: user@beam.apache.org<ma...@beam.apache.org>; Yi Hu <ya...@google.com>>; Zack Culberson <Za...@albertsons.com>>
> Subject: EXTERNAL Email: Re: JMSIO support
>
>
>
> hey Zack,
>
> JMSIO reader reads messages in a loop and it looks like whenever there is a checkpoint Beam recreates the connection. Maybe it takes some time for the driver and MQ to finalize the connection.
>
> Can you confirm which dataflow runner and sdk you are using?
>
> When you observed 2000 connections, do I understand correctly that this QM had empty queues?
>
> Were 2000 connections reported by QM monitoring?
>
>
>
> Radek
>
>
>
>
>
>
>
> On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com>> wrote:
>
> I do not know the answer. Adding @Radek Stankiewicz & @Yi Hu in case they might be able to help.
>
>
>
> On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <Za...@albertsons.com>> wrote:
>
> Hi all,
>
> I was wondering if anyone would know, we are using the JMS IO read to read from 3 IBM MQ’s. We setup the job to have a configurable amount of readers, which right now is 9 so three readers per mq. Our question came that at one point we were seeing the number of connections for one of our Queue managers was going up to 2000 connections but all of the messages were going to another Queue Manager whose connections stayed at about a constant 100. Could some one help me understand why that is and does the JMS leave the connection open when it connects to read or does it open and close every time it connects ?
>
> Thank you
>
>
>
> Zack Culberson
>
>
>
> ________________________________
>
> Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
>
> ________________________________
>
> ________________________________
> Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
> ________________________________
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
Re: EXTERNAL Email: Re: JMSIO support
Posted by Radek Stankiewicz via user <us...@beam.apache.org>.
Hi JB,
Thanks for that!
Zack, I think you need to implement autoscaler otherwise Dataflow won't
know how to move splits between the workers.
In your pipeline, have you noticed any imbalance between the workers?
Radek
wt., 28 sty 2025, 20:54 użytkownik Jean-Baptiste Onofré <jb...@nanthrax.net>
napisał:
> Hi
>
> Sorry for jumping late on this thread :)
> As I worked on the JmsIO while ago (I'm the original author :)), happy
> to help if I can.
>
> Regards
> JB
>
> On Tue, Jan 28, 2025 at 6:10 PM Zack Culberson
> <Za...@albertsons.com> wrote:
> >
> > Hi Radek,
> >
> > I wouldn’t say it was empty but the queue was receiving about a 1/3 to ¼
> of the message one of the other Queue Managers was getting. But those
> connections were still going up. I am using dataflow runner v2 and 2.61
> sdk. We saw the connections on MeshIq which we use to monitor the queues
> and see connection count and if there are any stuck messages.
> >
> > thank you
> >
> > Zack Culberson
> >
> >
> >
> > From: Radek Stankiewicz <ra...@google.com>
> > Sent: Tuesday, January 28, 2025 9:15 AM
> > To: Ahmet Altay <al...@google.com>
> > Cc: user@beam.apache.org; Yi Hu <ya...@google.com>; Zack Culberson <
> Zack.Culberson@albertsons.com>
> > Subject: EXTERNAL Email: Re: JMSIO support
> >
> >
> >
> > hey Zack,
> >
> > JMSIO reader reads messages in a loop and it looks like whenever there
> is a checkpoint Beam recreates the connection. Maybe it takes some time for
> the driver and MQ to finalize the connection.
> >
> > Can you confirm which dataflow runner and sdk you are using?
> >
> > When you observed 2000 connections, do I understand correctly that this
> QM had empty queues?
> >
> > Were 2000 connections reported by QM monitoring?
> >
> >
> >
> > Radek
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com> wrote:
> >
> > I do not know the answer. Adding @Radek Stankiewicz & @Yi Hu in case
> they might be able to help.
> >
> >
> >
> > On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <
> Zack.Culberson@albertsons.com> wrote:
> >
> > Hi all,
> >
> > I was wondering if anyone would know, we are using the JMS IO read to
> read from 3 IBM MQ’s. We setup the job to have a configurable amount of
> readers, which right now is 9 so three readers per mq. Our question came
> that at one point we were seeing the number of connections for one of our
> Queue managers was going up to 2000 connections but all of the messages
> were going to another Queue Manager whose connections stayed at about a
> constant 100. Could some one help me understand why that is and does the
> JMS leave the connection open when it connects to read or does it open and
> close every time it connects ?
> >
> > Thank you
> >
> >
> >
> > Zack Culberson
> >
> >
> >
> > ________________________________
> >
> > Warning: All e-mail sent to this address will be received by the
> corporate e-mail system, and is subject to archival and review by someone
> other than the recipient. This e-mail may contain proprietary information
> and is intended only for the use of the intended recipient(s). If the
> reader of this message is not the intended recipient(s), you are notified
> that you have received this message in error and that any review,
> dissemination, distribution or copying of this message is strictly
> prohibited. If you have received this message in error, please notify the
> sender immediately.
> >
> > ________________________________
> >
> > ________________________________
> > Warning: All e-mail sent to this address will be received by the
> corporate e-mail system, and is subject to archival and review by someone
> other than the recipient. This e-mail may contain proprietary information
> and is intended only for the use of the intended recipient(s). If the
> reader of this message is not the intended recipient(s), you are notified
> that you have received this message in error and that any review,
> dissemination, distribution or copying of this message is strictly
> prohibited. If you have received this message in error, please notify the
> sender immediately.
> > ________________________________
>
Re: EXTERNAL Email: Re: JMSIO support
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi
Sorry for jumping late on this thread :)
As I worked on the JmsIO while ago (I'm the original author :)), happy
to help if I can.
Regards
JB
On Tue, Jan 28, 2025 at 6:10 PM Zack Culberson
<Za...@albertsons.com> wrote:
>
> Hi Radek,
>
> I wouldn’t say it was empty but the queue was receiving about a 1/3 to ¼ of the message one of the other Queue Managers was getting. But those connections were still going up. I am using dataflow runner v2 and 2.61 sdk. We saw the connections on MeshIq which we use to monitor the queues and see connection count and if there are any stuck messages.
>
> thank you
>
> Zack Culberson
>
>
>
> From: Radek Stankiewicz <ra...@google.com>
> Sent: Tuesday, January 28, 2025 9:15 AM
> To: Ahmet Altay <al...@google.com>
> Cc: user@beam.apache.org; Yi Hu <ya...@google.com>; Zack Culberson <Za...@albertsons.com>
> Subject: EXTERNAL Email: Re: JMSIO support
>
>
>
> hey Zack,
>
> JMSIO reader reads messages in a loop and it looks like whenever there is a checkpoint Beam recreates the connection. Maybe it takes some time for the driver and MQ to finalize the connection.
>
> Can you confirm which dataflow runner and sdk you are using?
>
> When you observed 2000 connections, do I understand correctly that this QM had empty queues?
>
> Were 2000 connections reported by QM monitoring?
>
>
>
> Radek
>
>
>
>
>
>
>
> On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com> wrote:
>
> I do not know the answer. Adding @Radek Stankiewicz & @Yi Hu in case they might be able to help.
>
>
>
> On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <Za...@albertsons.com> wrote:
>
> Hi all,
>
> I was wondering if anyone would know, we are using the JMS IO read to read from 3 IBM MQ’s. We setup the job to have a configurable amount of readers, which right now is 9 so three readers per mq. Our question came that at one point we were seeing the number of connections for one of our Queue managers was going up to 2000 connections but all of the messages were going to another Queue Manager whose connections stayed at about a constant 100. Could some one help me understand why that is and does the JMS leave the connection open when it connects to read or does it open and close every time it connects ?
>
> Thank you
>
>
>
> Zack Culberson
>
>
>
> ________________________________
>
> Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
>
> ________________________________
>
> ________________________________
> Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
> ________________________________
RE: EXTERNAL Email: Re: JMSIO support
Posted by Zack Culberson <Za...@albertsons.com>.
Hi Radek,
I wouldn’t say it was empty but the queue was receiving about a 1/3 to ¼ of the message one of the other Queue Managers was getting. But those connections were still going up. I am using dataflow runner v2 and 2.61 sdk. We saw the connections on MeshIq which we use to monitor the queues and see connection count and if there are any stuck messages.
thank you
Zack Culberson
From: Radek Stankiewicz <ra...@google.com>
Sent: Tuesday, January 28, 2025 9:15 AM
To: Ahmet Altay <al...@google.com>
Cc: user@beam.apache.org; Yi Hu <ya...@google.com>; Zack Culberson <Za...@albertsons.com>
Subject: EXTERNAL Email: Re: JMSIO support
hey Zack,
JMSIO reader reads messages in a loop and it looks like whenever there is a checkpoint Beam recreates the connection. Maybe it takes some time for the driver and MQ to finalize the connection.
Can you confirm which dataflow runner and sdk you are using?
When you observed 2000 connections, do I understand correctly that this QM had empty queues?
Were 2000 connections reported by QM monitoring?
Radek
On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com>> wrote:
I do not know the answer. Adding @Radek Stankiewicz<ma...@google.com> & @Yi Hu<ma...@google.com> in case they might be able to help.
On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <Za...@albertsons.com>> wrote:
Hi all,
I was wondering if anyone would know, we are using the JMS IO read to read from 3 IBM MQ’s. We setup the job to have a configurable amount of readers, which right now is 9 so three readers per mq. Our question came that at one point we were seeing the number of connections for one of our Queue managers was going up to 2000 connections but all of the messages were going to another Queue Manager whose connections stayed at about a constant 100. Could some one help me understand why that is and does the JMS leave the connection open when it connects to read or does it open and close every time it connects ?
Thank you
Zack Culberson
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
RE: EXTERNAL Email: Re: JMSIO support
Posted by Zack Culberson <Za...@albertsons.com>.
I didn’t use a custom auto scaler though that is something I am relooking into, but I think I set the # of splits to 10.
Thanks
Zack Culberson
From: Radek Stankiewicz <ra...@google.com>
Sent: Tuesday, January 28, 2025 12:35 PM
To: Zack Culberson <Za...@albertsons.com>
Cc: Ahmet Altay <al...@google.com>; user@beam.apache.org; Yi Hu <ya...@google.com>
Subject: Re: EXTERNAL Email: Re: JMSIO support
Any chance to share how you set up auto scaler and how many splits you are setting for this pipeline?
https://github.com/apache/beam/blob/master/runners%2Fgoogle-cloud-dataflow-java%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fbeam%2Frunners%2Fdataflow%2Finternal%2FCustomSources.java#L95<https://urldefense.com/v3/__https:/github.com/apache/beam/blob/master/runners*2Fgoogle-cloud-dataflow-java*2Fsrc*2Fmain*2Fjava*2Forg*2Fapache*2Fbeam*2Frunners*2Fdataflow*2Finternal*2FCustomSources.java*L95__;JSUlJSUlJSUlJSUj!!K1aXqncla1X7G90AkdLmCg!uanPPPKtotrPKuJ3Q4f4EIZzfcw3HNUvUkXlNTNhE0QbT53OcNpcw3kGDo3hcPgvDAU7fgfe8Ek-G30pNIwuQvxeKg$> here we use dataflow pipeline options to specify amount of splits.
wt., 28 sty 2025, 18:47 użytkownik Zack Culberson <Za...@albertsons.com>> napisał:
Just to add this as well
[cid:image001.png@01DB7181.9EF4BA00]
So our middle queue has 7122 messages sitting on it but either the JMS IO didn’t scale up to handle those or our first queue that has 734 started getting more messages either way I was expecting all the Queue managers to behave the like the first to keep up with the throughput but that’s not what Im observing.
Thanks
Zack Culberson
From: Radek Stankiewicz <ra...@google.com>>
Sent: Tuesday, January 28, 2025 9:15 AM
To: Ahmet Altay <al...@google.com>>
Cc: user@beam.apache.org<ma...@beam.apache.org>; Yi Hu <ya...@google.com>>; Zack Culberson <Za...@albertsons.com>>
Subject: EXTERNAL Email: Re: JMSIO support
hey Zack,
JMSIO reader reads messages in a loop and it looks like whenever there is a checkpoint Beam recreates the connection. Maybe it takes some time for the driver and MQ to finalize the connection.
Can you confirm which dataflow runner and sdk you are using?
When you observed 2000 connections, do I understand correctly that this QM had empty queues?
Were 2000 connections reported by QM monitoring?
Radek
On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com>> wrote:
I do not know the answer. Adding @Radek Stankiewicz<ma...@google.com> & @Yi Hu<ma...@google.com> in case they might be able to help.
On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <Za...@albertsons.com>> wrote:
Hi all,
I was wondering if anyone would know, we are using the JMS IO read to read from 3 IBM MQ’s. We setup the job to have a configurable amount of readers, which right now is 9 so three readers per mq. Our question came that at one point we were seeing the number of connections for one of our Queue managers was going up to 2000 connections but all of the messages were going to another Queue Manager whose connections stayed at about a constant 100. Could some one help me understand why that is and does the JMS leave the connection open when it connects to read or does it open and close every time it connects ?
Thank you
Zack Culberson
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
Re: EXTERNAL Email: Re: JMSIO support
Posted by Radek Stankiewicz via user <us...@beam.apache.org>.
Any chance to share how you set up auto scaler and how many splits you are
setting for this pipeline?
https://github.com/apache/beam/blob/master/runners%2Fgoogle-cloud-dataflow-java%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fbeam%2Frunners%2Fdataflow%2Finternal%2FCustomSources.java#L95
here we use dataflow pipeline options to specify amount of splits.
wt., 28 sty 2025, 18:47 użytkownik Zack Culberson <
Zack.Culberson@albertsons.com> napisał:
> Just to add this as well
>
>
>
> So our middle queue has 7122 messages sitting on it but either the JMS IO
> didn’t scale up to handle those or our first queue that has 734 started
> getting more messages either way I was expecting all the Queue managers to
> behave the like the first to keep up with the throughput but that’s not
> what Im observing.
>
> Thanks
> Zack Culberson
>
>
>
> *From:* Radek Stankiewicz <ra...@google.com>
> *Sent:* Tuesday, January 28, 2025 9:15 AM
> *To:* Ahmet Altay <al...@google.com>
> *Cc:* user@beam.apache.org; Yi Hu <ya...@google.com>; Zack Culberson <
> Zack.Culberson@albertsons.com>
> *Subject:* EXTERNAL Email: Re: JMSIO support
>
>
>
> hey Zack,
>
> JMSIO reader reads messages in a loop and it looks like whenever there is
> a checkpoint Beam recreates the connection. Maybe it takes some time for
> the driver and MQ to finalize the connection.
>
> Can you confirm which dataflow runner and sdk you are using?
>
> When you observed 2000 connections, do I understand correctly that this QM
> had empty queues?
>
> Were 2000 connections reported by QM monitoring?
>
>
>
> Radek
>
>
>
>
>
>
>
> On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com> wrote:
>
> I do not know the answer. Adding @Radek Stankiewicz <ra...@google.com>
> & @Yi Hu <ya...@google.com> in case they might be able to help.
>
>
>
> On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <
> Zack.Culberson@albertsons.com> wrote:
>
> Hi all,
>
> I was wondering if anyone would know, we are using the JMS IO read to read
> from 3 IBM MQ’s. We setup the job to have a configurable amount of readers,
> which right now is 9 so three readers per mq. Our question came that at one
> point we were seeing the number of connections for one of our Queue
> managers was going up to 2000 connections but all of the messages were
> going to another Queue Manager whose connections stayed at about a constant
> 100. Could some one help me understand why that is and does the JMS leave
> the connection open when it connects to read or does it open and close
> every time it connects ?
>
> Thank you
>
>
>
> *Zack Culberson*
>
>
> ------------------------------
>
> Warning: All e-mail sent to this address will be received by the corporate
> e-mail system, and is subject to archival and review by someone other than
> the recipient. This e-mail may contain proprietary information and is
> intended only for the use of the intended recipient(s). If the reader of
> this message is not the intended recipient(s), you are notified that you
> have received this message in error and that any review, dissemination,
> distribution or copying of this message is strictly prohibited. If you have
> received this message in error, please notify the sender immediately.
> ------------------------------
>
> ------------------------------
> Warning: All e-mail sent to this address will be received by the corporate
> e-mail system, and is subject to archival and review by someone other than
> the recipient. This e-mail may contain proprietary information and is
> intended only for the use of the intended recipient(s). If the reader of
> this message is not the intended recipient(s), you are notified that you
> have received this message in error and that any review, dissemination,
> distribution or copying of this message is strictly prohibited. If you have
> received this message in error, please notify the sender immediately.
> ------------------------------
>
RE: EXTERNAL Email: Re: JMSIO support
Posted by Zack Culberson <Za...@albertsons.com>.
Just to add this as well
[cid:image001.png@01DB7171.FD347C00]
So our middle queue has 7122 messages sitting on it but either the JMS IO didn’t scale up to handle those or our first queue that has 734 started getting more messages either way I was expecting all the Queue managers to behave the like the first to keep up with the throughput but that’s not what Im observing.
Thanks
Zack Culberson
From: Radek Stankiewicz <ra...@google.com>
Sent: Tuesday, January 28, 2025 9:15 AM
To: Ahmet Altay <al...@google.com>
Cc: user@beam.apache.org; Yi Hu <ya...@google.com>; Zack Culberson <Za...@albertsons.com>
Subject: EXTERNAL Email: Re: JMSIO support
hey Zack,
JMSIO reader reads messages in a loop and it looks like whenever there is a checkpoint Beam recreates the connection. Maybe it takes some time for the driver and MQ to finalize the connection.
Can you confirm which dataflow runner and sdk you are using?
When you observed 2000 connections, do I understand correctly that this QM had empty queues?
Were 2000 connections reported by QM monitoring?
Radek
On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com>> wrote:
I do not know the answer. Adding @Radek Stankiewicz<ma...@google.com> & @Yi Hu<ma...@google.com> in case they might be able to help.
On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <Za...@albertsons.com>> wrote:
Hi all,
I was wondering if anyone would know, we are using the JMS IO read to read from 3 IBM MQ’s. We setup the job to have a configurable amount of readers, which right now is 9 so three readers per mq. Our question came that at one point we were seeing the number of connections for one of our Queue managers was going up to 2000 connections but all of the messages were going to another Queue Manager whose connections stayed at about a constant 100. Could some one help me understand why that is and does the JMS leave the connection open when it connects to read or does it open and close every time it connects ?
Thank you
Zack Culberson
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
Re: JMSIO support
Posted by Radek Stankiewicz via user <us...@beam.apache.org>.
hey Zack,
JMSIO reader reads messages in a loop and it looks like whenever there is a
checkpoint Beam recreates the connection. Maybe it takes some time for the
driver and MQ to finalize the connection.
Can you confirm which dataflow runner and sdk you are using?
When you observed 2000 connections, do I understand correctly that this QM
had empty queues?
Were 2000 connections reported by QM monitoring?
Radek
On Tue, Jan 28, 2025 at 1:28 AM Ahmet Altay <al...@google.com> wrote:
> I do not know the answer. Adding @Radek Stankiewicz <ra...@google.com>
> & @Yi Hu <ya...@google.com> in case they might be able to help.
>
> On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <
> Zack.Culberson@albertsons.com> wrote:
>
>> Hi all,
>>
>> I was wondering if anyone would know, we are using the JMS IO read to
>> read from 3 IBM MQ’s. We setup the job to have a configurable amount of
>> readers, which right now is 9 so three readers per mq. Our question came
>> that at one point we were seeing the number of connections for one of our
>> Queue managers was going up to 2000 connections but all of the messages
>> were going to another Queue Manager whose connections stayed at about a
>> constant 100. Could some one help me understand why that is and does the
>> JMS leave the connection open when it connects to read or does it open and
>> close every time it connects ?
>>
>> Thank you
>>
>>
>>
>> *Zack Culberson*
>>
>>
>> ------------------------------
>> Warning: All e-mail sent to this address will be received by the
>> corporate e-mail system, and is subject to archival and review by someone
>> other than the recipient. This e-mail may contain proprietary information
>> and is intended only for the use of the intended recipient(s). If the
>> reader of this message is not the intended recipient(s), you are notified
>> that you have received this message in error and that any review,
>> dissemination, distribution or copying of this message is strictly
>> prohibited. If you have received this message in error, please notify the
>> sender immediately.
>> ------------------------------
>>
>
RE: EXTERNAL Email: Re: JMSIO support
Posted by Zack Culberson <Za...@albertsons.com>.
Sounds perfect thank you @Ahmet Altay<ma...@google.com>, any help would be greatly appreciated and any information on how to improve throughput for the JMS io would be greatly appreciated !
From: Ahmet Altay <al...@google.com>
Sent: Monday, January 27, 2025 5:28 PM
To: user@beam.apache.org; Radek Stankiewicz <ra...@google.com>; Yi Hu <ya...@google.com>; Zack Culberson <Za...@albertsons.com>
Subject: EXTERNAL Email: Re: JMSIO support
I do not know the answer. Adding @Radek Stankiewicz<ma...@google.com> & @Yi Hu<ma...@google.com> in case they might be able to help.
On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <Za...@albertsons.com>> wrote:
Hi all,
I was wondering if anyone would know, we are using the JMS IO read to read from 3 IBM MQ’s. We setup the job to have a configurable amount of readers, which right now is 9 so three readers per mq. Our question came that at one point we were seeing the number of connections for one of our Queue managers was going up to 2000 connections but all of the messages were going to another Queue Manager whose connections stayed at about a constant 100. Could some one help me understand why that is and does the JMS leave the connection open when it connects to read or does it open and close every time it connects ?
Thank you
Zack Culberson
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
________________________________
Warning: All e-mail sent to this address will be received by the corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain proprietary information and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.
________________________________
Re: JMSIO support
Posted by Ahmet Altay via user <us...@beam.apache.org>.
I do not know the answer. Adding @Radek Stankiewicz <ra...@google.com>
& @Yi Hu <ya...@google.com> in case they might be able to help.
On Mon, Jan 27, 2025 at 2:55 PM Zack Culberson <
Zack.Culberson@albertsons.com> wrote:
> Hi all,
>
> I was wondering if anyone would know, we are using the JMS IO read to read
> from 3 IBM MQ’s. We setup the job to have a configurable amount of readers,
> which right now is 9 so three readers per mq. Our question came that at one
> point we were seeing the number of connections for one of our Queue
> managers was going up to 2000 connections but all of the messages were
> going to another Queue Manager whose connections stayed at about a constant
> 100. Could some one help me understand why that is and does the JMS leave
> the connection open when it connects to read or does it open and close
> every time it connects ?
>
> Thank you
>
>
>
> *Zack Culberson*
>
>
> ------------------------------
> Warning: All e-mail sent to this address will be received by the corporate
> e-mail system, and is subject to archival and review by someone other than
> the recipient. This e-mail may contain proprietary information and is
> intended only for the use of the intended recipient(s). If the reader of
> this message is not the intended recipient(s), you are notified that you
> have received this message in error and that any review, dissemination,
> distribution or copying of this message is strictly prohibited. If you have
> received this message in error, please notify the sender immediately.
> ------------------------------
>