helpshift / ekaf

A minimal, high-performance Kafka client in Erlang.
https://engineering.helpshift.com
Other
165 stars 50 forks source link

suggestion #26

Closed WanliTian closed 8 years ago

WanliTian commented 8 years ago

it's better to add the project name for registering process name when using gproc, like this:

gproc:reg({n,l,{ProjectName, TopicName}}).
bosky101 commented 8 years ago

This will also make sense for the pg2 group created. currently it is topicname, but prefixing with ekaf.topicname will be better.

thanks, will update here when done.

bosky101 commented 8 years ago

Fixed in c2246f2c4f63c6e78e21afbeb17c66558ad12774

gproc & pg2 topics are now prefixed with <<"ekaf.", Topic/binary>>