Skip to content

Conversation

@dantswain
Copy link
Collaborator

This is a convenience function to start a worker outside the main
supervision tree. Because it is outside the supervision tree, we may
start it with an arbitrary GenServer implementation, so this function
takes server_impl as an additional optional parameter.

I went back and cleaned up the kayrock integration tests to use this
function instead of a two-step process of building worker arguments and
then starting the client.

This is a convenience function to start a worker outside the main
supervision tree.  Because it is outside the supervision tree, we may
start it with an arbitrary GenServer implementation, so this function
takes `server_impl` as an additional optional parameter.

I went back and cleaned up the kayrock integration tests to use this
function instead of a two-step process of building worker arguments and
then starting the client.
Copy link
Member

@joshuawscott joshuawscott left a comment

Choose a reason for hiding this comment

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

👍

@dantswain dantswain merged commit 173e3f7 into master Oct 3, 2019
@dantswain dantswain deleted the start_link_worker branch October 3, 2019 16:27
robotarmy pushed a commit to RAM9/kafka_ex that referenced this pull request Apr 7, 2025
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.

3 participants