Fix test killed with quit: ran too long (#50)

Fixes #49

Motivation
By default, timeout exit after 10 minutes

go test --help
-timeout d
        If a test binary runs longer than duration d, panic.
        If d is 0, the timeout is disabled.
        The default is 10 minutes (10m).
1 file changed
tree: abea1537d3a87c7f79b414e0ff31b0754fee959f
  1. .github/
  2. examples/
  3. integration-tests/
  4. perf/
  5. pkg/
  6. pulsar/
  7. util/
  8. .gitignore
  9. .golangci.yml
  10. docker-ci.sh
  11. Dockerfile
  12. go.mod
  13. go.sum
  14. LICENSE
  15. NOTICE
  16. pulsar-test-service-start.sh
  17. pulsar-test-service-stop.sh
  18. README.md
  19. run-ci.sh
README.md

GoDoc Go Report Card Language LICENSE

Apache Pulsar Go Client Library

Note: this library is still a work in progress. For production usage, please refer to the CGo based client library, documented at http://pulsar.apache.org/docs/en/client-libraries-go/

Goal

This projects is developing a pure-Go client library for Pulsar that does not depend on the C++ Pulsar library.

Once feature parity and stability are reached, this will supersede the current CGo based library.

Status

Check the Projects page at https://github.com/apache/pulsar-client-go/projects for tracking the status and the progress.

Usage

Import the client library:

import "github.com/apache/pulsar-client-go/pulsar"
client, err := pulsar.NewClient(pulsar.ClientOptions{
    URL: "pulsar://localhost:6650",
})

producer, err := client.CreateProducer(pulsar.ProducerOptions{
	Topic: "my-topic",
})

err = producer.Send(context.Background(), &pulsar.ProducerMessage{
	Payload: []byte("hello"),
})

if err == nil {
	fmt.Println("Published message")
} else {
	fmt.Println("Failed to publish message", err)
}

Contact

Mailing lists
NameScope
users@pulsar.apache.orgUser-related discussionsSubscribeUnsubscribeArchives
dev@pulsar.apache.orgDevelopment-related discussionsSubscribeUnsubscribeArchives
Slack

Pulsar slack channel #dev-go at https://apache-pulsar.slack.com/

You can self-register at https://apache-pulsar.herokuapp.com/

License

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0