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

Add EventStoreSource #1

Merged
merged 2 commits into from
Jun 7, 2019
Merged

Add EventStoreSource #1

merged 2 commits into from
Jun 7, 2019

Conversation

bartelink
Copy link
Collaborator

@bartelink bartelink commented Jun 5, 2019

This derives from a set of work carried out in this long-running dotnet-templates PR, which spawned a lot of code that resides in this repo today.

@bartelink bartelink marked this pull request as ready for review June 7, 2019 16:45
@bartelink bartelink merged commit 9ecde87 into master Jun 7, 2019
@bartelink bartelink deleted the es-source branch June 7, 2019 16:47
startMode, spec.groupName, startPos.CommitPosition, Reader.chunk startPos, float startPos.CommitPosition/float maxPos.CommitPosition,
checkpointFreq.TotalMinutes)
return startPos }
let cosmosIngester = sink.StartIngester(log.ForContext("Tranche","Ingester"), 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

is this a typo, or does the EventStoreSource really need Cosmos?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch - before it was generalized to sync to/from ES/Cosmos, the original impl was indeed ES->Cosmos. ingester would be a better name, as really all a source does is feed into an ingester. (TMI: an ingester feeds to a scheduler - which then dispatches to a handler (which might be a sink if the task is to maintain a live sync between two event storage systems))

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.

2 participants