You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/23 13:36:38 UTC

[GitHub] [pulsar-client-go] wcn00 opened a new issue #332: If this library is imported into an app that already uses prometheus and initializes the client, then the second client init will fail because of re-registering the enum

wcn00 opened a new issue #332:
URL: https://github.com/apache/pulsar-client-go/issues/332


   #### Expected behavior
   
   Tell us what should happen
   
   #### Actual behavior
   
   Tell us what happens instead
   
   #### Steps to reproduce
   
   How can we reproduce the issue
   
   #### System configuration
   **Pulsar version**: x.y
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wcn00 commented on issue #332: If this library is imported into an app that already uses prometheus and initializes the client, then the second client init will fail because of re-registering the enum

Posted by GitBox <gi...@apache.org>.
wcn00 commented on issue #332:
URL: https://github.com/apache/pulsar-client-go/issues/332#issuecomment-663105864


   @merlimat  Yes I do think it has something to do with those issues.   I would migrate to the gogo version of protobufs, but I don't control either of these packages.  For the time being I'll build the app against a modified version of prometheous and leave it to upstream teams do change their code.
   thnx
   wcn


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] merlimat commented on issue #332: If this library is imported into an app that already uses prometheus and initializes the client, then the second client init will fail because of re-registering the enum

Posted by GitBox <gi...@apache.org>.
merlimat commented on issue #332:
URL: https://github.com/apache/pulsar-client-go/issues/332#issuecomment-663038853


   @wcn00 Do you think that is something related to how we're importing or initializing prometheus stuff? 
   
   Is this something related with https://github.com/golang/protobuf/issues/178#issuecomment-373136277 ?
   
   According to https://github.com/golang/protobuf/issues/268#issuecomment-593773447, there should have been some improvement in protobuf registration in 1.20.0


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org