[
https://issues.apache.org/jira/browse/FLINK-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960820#comment-14960820
]
ASF GitHub Bot commented on FLINK-2624:
---------------------------------------
Github user StephanEwen commented on the pull request:
https://github.com/apache/flink/pull/1243#issuecomment-148737070
I disagree with the locking in the base class. If you look at the
documenation for sources, it states how to make sure you hold the checkpoint
lock when emitting the elements and updating the state (here IDs to be
remembered). That is the encouraged mechanism, as it gives the exactly once
guarantee
If you lock properly there, there is no need to hold any lock
In some sense all modifications to the base class are a bit tricky:
- The locks are not required if you properly hold the checkpoint lock
- the open/close checks are not necessary as well, this should be
guaranteed by the runtime already
- the logging will probably bring down the system, if used in a real
setting with decent throughput.
> RabbitMQ source / sink should participate in checkpointing
> ----------------------------------------------------------
>
> Key: FLINK-2624
> URL: https://issues.apache.org/jira/browse/FLINK-2624
> Project: Flink
> Issue Type: Bug
> Components: Streaming Connectors
> Affects Versions: 0.10
> Reporter: Stephan Ewen
> Assignee: Hilmi Yildirim
>
> The RabbitMQ connector does not offer any fault tolerance guarantees right
> now, because it does not participate in the checkpointing.
> We should integrate it in a similar was as the {{FlinkKafkaConsumer}} is
> integrated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)