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

Use local broker address as serviceURL when running WebSocket component embedded in broker #82

Merged
merged 1 commit into from
Oct 25, 2016

Conversation

merlimat
Copy link
Contributor

Motivation

As described in #77, when WebSocket component is running embedded inside the broker and a VIP system is used as service discovery, there will be an authentication issue when the broker connects to itself, because the IP will be different.

Modifications

When WebSocket compute is running embedded in broker, always connect to local broker, without going through service discovery.

Result

Fixes #77

@yahoocla
Copy link

CLA is valid!

2 similar comments
@yahoocla
Copy link

CLA is valid!

@yahoocla
Copy link

CLA is valid!

@merlimat merlimat added the type/bug The PR fixed a bug or issue reported a bug label Oct 24, 2016
@merlimat merlimat added this to the 1.16 milestone Oct 24, 2016
@merlimat merlimat self-assigned this Oct 24, 2016
Copy link
Contributor

@rdhabalia rdhabalia left a comment

Choose a reason for hiding this comment

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

👍

@merlimat merlimat merged commit 4d685b5 into apache:master Oct 25, 2016
sijie pushed a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
massakam pushed a commit to massakam/pulsar that referenced this pull request Aug 6, 2020
```
var client = new Pulsar.Client({
  log: function(level /* typescript enum */, file, line, message) {
      // log with console.log or other logging implementation
  }
})
```

If no log function is passed, it will use default logging.
hrsakai pushed a commit to hrsakai/pulsar that referenced this pull request Dec 10, 2020
…che#82)

* Added a message id tracker for acking messages that are batched.

* Update ack tracker functions.
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
)

Fix apache#74
This change is to refine the project structure to make nar file the default deploy way.
Also kept the old building style of tar.gz, and we could remove it in the future. (apache#83 )
For the tests, mainly use PulsarService, and leverage nar loading for KoP protocol handler init.

* renamed, pass unit tests

* pass test using pular broker

* move and fix group Coordinator and GroupMetadataManager test

* move and fix DistributedClusterTest and KafkaApisTest

* move and fix KafkaRequestHandlerTest and KafkaRequestTypeTest

* move and fix KafkaSSLChannelTest and KafkaTopicConsumerManagerTest

* move and fix MultiLedgerTest and PulsarAuthEnabledTest

* move and fix SaslPlainTest

* remove dup tests

* add KafkaBrokerStarter back, to also keep the tar binary build

* change Readme

* fix checkstyle

* action: build before check

* split tests

* bypass integration tests

* add producer retry logic in DistributedClusterTest

* catch client exception

* change following comments
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
in PR apache#82, structure is refined, but publish.sh leaked the change.


* fix publish.sh for dir refine

* delete integrations/__init__.py

* ignore dir dev in script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants