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

[FEATURE] - upgraded elector example using gocron-v2 #24

Closed
seriouspoop opened this issue Jul 7, 2024 · 3 comments · Fixed by #28
Closed

[FEATURE] - upgraded elector example using gocron-v2 #24

seriouspoop opened this issue Jul 7, 2024 · 3 comments · Fixed by #28
Labels
enhancement New feature or request

Comments

@seriouspoop
Copy link
Contributor

Is your feature request related to a problem? Please describe

I was struggling to find a example for using gocron-etcd-elector, never understood how to make it work with multiple instances of an application.

Describe the solution you'd like

I have written a new and better example which shows the use of replica instances and etcd cluster, and a live view of leader election in docker logs like in a production environment.

Describe alternatives you've considered

NA

Additional context

NA

@seriouspoop seriouspoop added the enhancement New feature or request label Jul 7, 2024
@JohnRoesler
Copy link
Contributor

I have written a new and better example which shows the use of replica instances and etcd cluster, and a live view of leader election in docker logs like in a production environment.

@seriouspoop could you share that example?

@seriouspoop
Copy link
Contributor Author

@JohnRoesler yeah here you go, https://github.com/seriouspoop/gocron-etcd-elector-example

@JohnRoesler
Copy link
Contributor

Would you like to PR this in to the example directory? Or reference it by link to your repo? Happy to have a solid example included, and happy to include it however you'd like

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 a pull request may close this issue.

2 participants