Jim-Lambert-Bose commented on issue #4286: libpulsar Homebrew formula fails
URL: https://github.com/apache/pulsar/issues/4286#issuecomment-493145130
 
 
   There is no v2.3.x tags on the "go code" in the pulsar repo.  How in the 
world does that even happen 🤷‍♂ 
   
   I was able to find the git hash of the v2.3.1 commit and pull the right 
module version via:
   `go get github.com/apache/pulsar/pulsar-client-go@ 
7a6f2cca0fdb01e4a1ea1c72d907217a13af8ff1`
   
   But... in the end, there is some compatibility issue.  Even the most basic 
go example client won't build:
   ```
   package main
   import (
        "log"
        "runtime"
   
        "github.com/apache/pulsar/pulsar-client-go/pulsar"
   )
   func main() {
        client, err := pulsar.NewClient(pulsar.ClientOptions{
                URL:                     "pulsar://localhost:6650",
                OperationTimeoutSeconds: 5,
                MessageListenerThreads:  runtime.NumCPU(),
        })
   
        if err != nil {
                log.Fatalf("Could not instantiate Pulsar client: %v", err)
        }
        client.Close()
   }
   ```
   
   ```
   c_message.go line #91
   cannot use size (type _Ctype_int) as type _Ctype_ulong in assignment
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to