Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Remove isMarkerMessage method in KoP MessagePublishContext - #1064

Merged
BewareMyPower merged 1 commit into
streamnative:masterfrom
Demogorgon314:fix/remove-unused-code
Feb 10, 2022
Merged

Remove isMarkerMessage method in KoP MessagePublishContext#1064
BewareMyPower merged 1 commit into
streamnative:masterfrom
Demogorgon314:fix/remove-unused-code

Conversation

@Demogorgon314

Copy link
Copy Markdown
Member

Motivation

The isMarkerMessage method is used for ReplicatedSubscriptions, we should use isMarkerMessage in KoP.

Modifications

Do not override isMarkerMessage method in KoP MessagePublishContext.

@BewareMyPower
BewareMyPower merged commit 19d3a3a into streamnative:master Feb 10, 2022
@Demogorgon314
Demogorgon314 deleted the fix/remove-unused-code branch February 10, 2022 13:52
Demogorgon314 added a commit that referenced this pull request Feb 11, 2022
### Motivation
The `isMarkerMessage` method is used for `ReplicatedSubscriptions`, we should use `isMarkerMessage` in KoP.

### Modifications
Do not override `isMarkerMessage ` method in KoP MessagePublishContext.

(cherry picked from commit 19d3a3a)
Demogorgon314 added a commit that referenced this pull request Feb 11, 2022
### Motivation
The `isMarkerMessage` method is used for `ReplicatedSubscriptions`, we should use `isMarkerMessage` in KoP.

### Modifications
Do not override `isMarkerMessage ` method in KoP MessagePublishContext.

(cherry picked from commit 19d3a3a)
Demogorgon314 added a commit that referenced this pull request Feb 11, 2022
### Motivation
The `isMarkerMessage` method is used for `ReplicatedSubscriptions`, we should use `isMarkerMessage` in KoP.

### Modifications
Do not override `isMarkerMessage ` method in KoP MessagePublishContext.

(cherry picked from commit 19d3a3a)
eolivelli pushed a commit to eolivelli/kop that referenced this pull request Feb 24, 2022
…ive#1064)

The `isMarkerMessage` method is used for `ReplicatedSubscriptions`, we should use `isMarkerMessage` in KoP.

Do not override `isMarkerMessage ` method in KoP MessagePublishContext.

(cherry picked from commit 19d3a3a)
Demogorgon314 added a commit to Demogorgon314/kop that referenced this pull request Apr 15, 2026
…viceUnitStateMetadataStoreTableViewImpl` (streamnative#1081)

Fixes streamnative#1064

### Motivation

The LoadManager caused the flaky test during the cluster shutdown stage.
The topic base `ServiceUnitState` failed to close.

```
Error:  Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 117.882 s <<< FAILURE! - in io.streamnative.pulsar.handlers.kop.pulsarstorage.SimpleLoadBalanceTest
Error:  stopCluster(io.streamnative.pulsar.handlers.kop.pulsarstorage.SimpleLoadBalanceTest)  Time elapsed: 61.019 s  <<< FAILURE!
org.testng.internal.thread.ThreadTimeoutException: Method io.streamnative.pulsar.handlers.kop.pulsarstorage.SimpleLoadBalanceTest.stopCluster() didn't finish within the time-out 60000
	at java.base@17.0.14/java.io.FileOutputStream.writeBytes(Native Method)
	at java.base@17.0.14/java.io.FileOutputStream.write(FileOutputStream.java:349)
	at java.base@17.0.14/java.io.BufferedOutputStream.write(BufferedOutputStream.java:123)
	at java.base@17.0.14/java.io.PrintStream.write(PrintStream.java:568)
```
### Modifications

Update load manager configuration to use
`ServiceUnitStateMetadataStoreTableViewImpl`.
Add timeout for `startCluster` and `stopCluster`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants