Skip to content

Conversation

@alievmirza
Copy link
Contributor

@alievmirza alievmirza commented Mar 20, 2023

/**
* Constructor.
*
* @param clusterNode Represents a node in a cluster..
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's either "..." or '.')) And yep both clusterNode and LogicalNode represents a node in a cluster. We should either remove meaningless javadoc or add more definitions, e.g. saying that it's not a cluster, put network topology etc.

Copy link
Contributor Author

@alievmirza alievmirza Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e.g. saying that it's not a cluster, put network topology etc.

To be honest, I didn't understand your comment fully, could you please elaborate a bit?

Copy link
Contributor

@sanpwc sanpwc Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two points after the "cluster". Minor, won't wait for it. Please fix somewhere aside.

@alievmirza alievmirza changed the title IGNITE-18953 WIP IGNITE-18953 Add the ability to set attributes for a node to use them for filtering specific nodes Apr 3, 2023
@sanpwc sanpwc merged commit 263b5f2 into apache:main Apr 3, 2023
@sanpwc sanpwc deleted the ignite-18953 branch April 3, 2023 10:13
lowka pushed a commit to gridgain/apache-ignite-3 that referenced this pull request Apr 19, 2023
isapego pushed a commit to isapego/ignite-3 that referenced this pull request Mar 20, 2025
* Add `source.offset.mode` property
  * `NONE` - do not store CQ watermark in Kafka - no resume on restart
  * `ALL` - store CQ watermark with every Kafka source record - resume CQ on connector restart

* Add `source.offset.fail.mode` property
  * `FAIL` - fails CQ when stored watermark is too old
  * `IGNORE` - ignores invalid watermark and starts the connector anyway, potentially missing some updates

Additionally:
* Add `CONTINUOUS_QUERY_ERR_GROUP` and `WATERMARK_TOO_OLD_ERR` to handle watermark errors by code
* Optimize watermark serialization with `watermarkBytes` and `fromBytes` to avoid extra array allocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants