Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APISink and Extending SeqSink #34

Merged
merged 5 commits into from
Mar 1, 2023
Merged

Conversation

Ibrahemkhalil
Copy link
Contributor

Renaming postToSeq to be postToLogger and refactoring. Also, making it protected instead of private to be overridden.
The ability to create a custom sink through extending SeqSink and overriding postToLogger.
Change the storage key name to be based on the toString method.
Add APISink that takes headers to be used for any custom logging

Make headers as optional
compact/durable/supressErrors to have default values.
@davisb10 davisb10 self-assigned this Mar 1, 2023
@davisb10 davisb10 added the new-feature New feature or request label Mar 1, 2023
@davisb10 davisb10 merged commit d3860b9 into davisb10:master Mar 1, 2023
@Ibrahemkhalil
Copy link
Contributor Author

Ibrahemkhalil commented Mar 1, 2023 via email

@davisb10
Copy link
Owner

davisb10 commented Mar 1, 2023

I'm actually going to rework this a bit to have the bulk of the logic in the ApiSink and have SeqSink extend the ApiSink instead of the other way around. I think that will make a little more sense in the long run.

@Ibrahemkhalil
Copy link
Contributor Author

Ibrahemkhalil commented Mar 1, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants