Skip to content

Initial take at supporting topics in messaging#4956

Closed
derekperkins wants to merge 3 commits intovitessio:masterfrom
nozzle:message-topics
Closed

Initial take at supporting topics in messaging#4956
derekperkins wants to merge 3 commits intovitessio:masterfrom
nozzle:message-topics

Conversation

@derekperkins
Copy link
Copy Markdown
Member

@derekperkins derekperkins commented Jun 26, 2019

This isn't functional, but should describe well enough the approach I am suggesting. With minimal changes to the existing flow, it stores a map of topics on the engine. Then on inserts, it checks to see if the table name references a topic. If so, it recursively replaces the insert statement table with each of the subscribed message table names. Topics are insert only. Updates and deletes only happen on the individual message tables.

Fixes #4940

Signed-off-by: Derek Perkins <derek@derekperkins.com>
Signed-off-by: Derek Perkins <derek@derekperkins.com>
Signed-off-by: Derek Perkins <derek@derekperkins.com>
@derekperkins
Copy link
Copy Markdown
Member Author

closing in favor of #5011

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.

Proposal: add topic abstraction to messaging

1 participant