hrsakai commented on a change in pull request #1838: Pulsar Go client docs URL: https://github.com/apache/incubator-pulsar/pull/1838#discussion_r193988604
########## File path: site/docs/latest/clients/go.md ########## @@ -0,0 +1,589 @@ +--- +title: The Pulsar Go client +tags: [client, go, golang] +--- + +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +The Pulsar Go client can be used to create Pulsar [producers](#producers), [consumers](#consumers), and [readers](#readers) in Go (aka Golang). + +{% include admonition.html type="info" title="API docs available as well" + content="For standard API docs, consult the [Godoc](https://godoc.org/github.com/apache/incubator-pulsar/pulsar-client-go/pulsar)." %} + +## Installation + +You can install the `pulsar` library locally using `go get`: + +```bash +$ go get -u github.com/apache/incubator-pulsar/pulsar-client-go/pulsar Review comment: I got following errors. ``` # go get -u github.com/apache/incubator-pulsar/pulsar-client-go/pulsar # github.com/apache/incubator-pulsar/pulsar-client-go/pulsar In file included from src/github.com/apache/incubator-pulsar/pulsar-client-go/pulsar/c_client.go:24:0: ./c_go_pulsar.h:22:29: fatal error: pulsar/c/client.h: No such file or directory #include <pulsar/c/client.h> ^ compilation terminated. ``` Do I need additional settings? Go version: go1.10 linux/amd64 go1.10.2 linux/amd64 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services