Skip to content

Close #215: Dead letter queue#218

Merged
Marchosiax merged 7 commits intodevfrom
215-kafka-error
Mar 6, 2022
Merged

Close #215: Dead letter queue#218
Marchosiax merged 7 commits intodevfrom
215-kafka-error

Conversation

@Marchosiax
Copy link
Copy Markdown
Member

No description provided.

@Marchosiax Marchosiax requested a review from ebrahimmfadae March 5, 2022 13:37
@ebrahimmfadae ebrahimmfadae added the enhancement New feature or request label Mar 5, 2022

CREATE TABLE IF NOT EXISTS dead_letter_events
(
id SERIAL PRIMARY KEY,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Don't we need NOT NULL constraint for some fields?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's too unpredictable. Can't risk getting exception here since this by itself handles other exceptions.

Copy link
Copy Markdown
Member Author

@Marchosiax Marchosiax Mar 5, 2022

Choose a reason for hiding this comment

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

Added NOT NULL for some of the fields. Please check again.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I agree. origin_module and timestamp are NOT NULL now

@Marchosiax Marchosiax merged commit 841a82e into dev Mar 6, 2022
@Marchosiax Marchosiax deleted the 215-kafka-error branch March 6, 2022 07:13
@ebrahimmfadae ebrahimmfadae added this to the v1.0.0 milestone May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants