[
https://issues.apache.org/jira/browse/BEAM-13236?focusedWorklogId=682449&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-682449
]
ASF GitHub Bot logged work on BEAM-13236:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 17/Nov/21 09:07
Start Date: 17/Nov/21 09:07
Worklog Time Spent: 10m
Work Description: mosche edited a comment on pull request #15955:
URL: https://github.com/apache/beam/pull/15955#issuecomment-971364866
Actually, this is more complicated than I thought. Closing the PR for now.
Per JVM a producer is shared among all `KinesisWriterFn`s. Sharing producers
absolutely makes sense, nevertheless this absolutely leaks. On teardown the
shared(!) producer reference is unset, though it might still be required by
another unfinished bundle running on the same JVM.
Also, if the static instance is reused, producer properties might be
silently dropped without notice.
```
private static transient IKinesisProducer producer;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 682449)
Time Spent: 1h (was: 50m)
> Properly close kinesis producer on teardown
> -------------------------------------------
>
> Key: BEAM-13236
> URL: https://issues.apache.org/jira/browse/BEAM-13236
> Project: Beam
> Issue Type: Task
> Components: io-java-kinesis
> Reporter: Moritz Mack
> Assignee: Moritz Mack
> Priority: P2
> Labels: aws, ios, kinesis
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Each KPL producer uses it's own native deamon, so properly cleaning up once
> not used anymore is important.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)