1. Go
  2. Tutorial

Create Project

Create a new directory anywhere you’d like for this project:

mkdir pulsar-go-getting-started && cd pulsar-go-getting-started

Initialize the Go module and download the Pulsar Go client dependency:

go mod init pulsar-go-getting-started
go get github.com/apache/pulsar-client-go
go get github.com/apache/pulsar-client-go/pulsar/auth
go get github.com/apache/pulsar-client-go/pulsar
Previous
Prerequisites