feat: add get_coordinator function in group subscriber v2 - #608
feat: add get_coordinator function in group subscriber v2#608yastanotheruser wants to merge 1 commit into
get_coordinator function in group subscriber v2#608Conversation
|
to lower the chance of race condition, maybe delete the gen_call to group subscriber v2. |
|
sorry I'm a bit slow. how could I read the state of the subscriber without a call to the gen_server? |
hm.... my bad, I must have lost a few lines when copy-paste.
If what you want is to be able to call And add a test case to verify that new subscribers will be started and messages will be fetched after the function is called. |
|
We can still add |
Add an API function to get the group subscriber process coordinator PID. This allows to dynamically change the topics the group subscribes to by calling
brod_group_coordinator:update_topics.