settings.RETRY_SETTINGS
takes adict
of kwargs to pass toRetrySettings
class.- Add
exclude_fields
option toModelTopicConsumer
to ignore message value fields.
- Add
RETRY_SETTINGS
configuration setting. - Add blocking retry behaviour and make it the default.
ModelTopicConsumer.get_defaults
will skip fields not defined on the model.
@substitute_error
now shows error message of the original error.
- Fix
DjangoKafka.run_consumers
failing when there are no consumers in the registry.
./manage.py kafka_connect
command now will exit withCommandError
in case of any exception.- New
@substitute_error(errors: Iterable[Type[Exception]], substitution: Type[Exception])
decorator to substitute exceptions.
- Added
producer.suppress
decorator. - Renamed
KafkaSkipModel
toKafkaConnectSkipModel
. - Renamed
KafkaConnectSkipQueryset
toKafkaConnectSkipQueryset
ModelTopicConsumer.sync
returns now the results of theupdate_or_create
method.- Add
days_from_epoch_to_date
function to convertio.debezium.time.Date
to pythondatetime.date
.
- Support string-based delete keys in DbzModelTopicConsumer
- Add ModelTopicConsumer and DbzModelTopicConsumer
- Add decorator for topic retry and dead letter topic, see
README.md
- Separate
Topic
class in toTopicProducer
andTopicConsumer
classes.
- Release removed