Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Error in NodeJS consumer code #138

Merged
merged 1 commit into from
Dec 2, 2016
Merged

Fix Error in NodeJS consumer code #138

merged 1 commit into from
Dec 2, 2016

Conversation

ais-one
Copy link
Contributor

@ais-one ais-one commented Dec 2, 2016

Motivation

There were some errors in the NodeJS consumer code for webservices

There was some problems with the URL and also the data packet coming in was a string and should be parsed...

The non parsing caused error in Ack which result in queue not deleting

Modifications

I changed two parts in the consumer code document

  1. URL
  2. Add JSON.parse function to incoming data

Result

publish and subscribe now works

There was some problems with the URL and also the data packet coming in was a string and should be parsed...
@yahoocla
Copy link

yahoocla commented Dec 2, 2016

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! 😄

@yahoocla
Copy link

yahoocla commented Dec 2, 2016

CLA is valid!

@merlimat merlimat added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Dec 2, 2016
@merlimat merlimat added this to the 1.16 milestone Dec 2, 2016
Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks

@merlimat merlimat merged commit 4283b1a into apache:master Dec 2, 2016
sijie pushed a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
rdhabalia added a commit to rdhabalia/pulsar that referenced this pull request Aug 8, 2019
hrsakai pushed a commit to hrsakai/pulsar that referenced this pull request Dec 10, 2020
### Modifications

Enable golangci lint for project, checks as follows:

```
    - bodyclose
    - deadcode
    - gocritic
    - goimports
    - golint
    - gosimple
    - govet
    - ineffassign
    - interfacer
    - misspell
    - staticcheck
    - structcheck
    - stylecheck
    - typecheck
    - unconvert
    - unparam
    - unused
    - varcheck
    - lll
    - prealloc
    - maligned
```
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
Master issue: apache#138

This PR adds tests for images of apache#195 .

In addition, it fixes the local test error when running tests on MacOS. Because the containers cannot connect to the host's KoP or Kafka service listened on 127.0.0.1.



* Fix local tests error by listening to site local address

* Add tests for Kafka Java clients

* Remove the comments
dlg99 pushed a commit to dlg99/pulsar that referenced this pull request Oct 3, 2022
* Make BookieId work with PulsarRegistrationDriver

* Switch to MetadataCache

* checkstyle
dlg99 pushed a commit to dlg99/pulsar that referenced this pull request Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants