Remove join and subscribe & Release 1.0.0 #292
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
api: remove join and subscribe
This is a breaking change.
Current join and subscribe implementations are rather useless. Connector does not provide any API to process incoming replication requests. The only supported scenario is to "connect as replica, skip everything that has been sent through replication, close on error".
Current Tarantool team product strategy is to develop CDC features, including replication support in language connectors, as Enterprise edition products [1]. Since we don't plan to provide proper join and subscribe implementation in the open-source connector in the future, we decide to drop current half-baked implementation to not confuse new users.
Release 1.0.0
Overview
This release introduces several minor behavior changes
to make API more consistent.
Starting from this release, connector no longer depends on
pandas
.Breaking changes
on_push
andon_push_ctx
forinsert
andreplace
.tarantool.Datetime
__repr__
has been changed.tarantool.Datetime
input arguments are validated withdatetime.datetime
rules.tarantool.Datetime
is no longer expected to throwpandas.Timestamp
exceptions.
datetime.datetime
exceptions will be thrown instead of them.__eq__
operator oftarantool.Datetime
forpandas.Timestamp
.join
andsubscribe
connection methods.Changes
Warning
instead of a custom one.RecursionError
instead of a custom one.pandas
(Make pandas dependency optional #290).Infrastructure
pylint
,flake8
andcodespell
.