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

[improve][admin]internalGetMessageById shouldn't be allowed on partitioned topic #5

Open
wants to merge 52 commits into
base: master
Choose a base branch
from

Conversation

gaozhangmin
Copy link
Owner

@gaozhangmin gaozhangmin commented Dec 21, 2022

Fixes #xyz

Master Issue: #xyz

PIP: #xyz

Motivation

Modifications

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@gaozhangmin gaozhangmin changed the title internalGetMessageById shouldn't be allowed on partitioned topic [improve][admin]internalGetMessageById shouldn't be allowed on partitioned topic Dec 21, 2022
lhotari and others added 27 commits December 21, 2022 19:00
…for paritioned topic stats-internal (apache#19044)

Signed-off-by: ericsyh <[email protected]>
…#19058)

### Motivation

Currently, Hadoop versions for pulsar-io-hdfs2 and hdfs3 is hard-coded in their pom.xml, but it's not so convenient for users who want to build Pulsar against specific version of Hadoop.

### Modifications

This PR defines those versions as Maven properties just like other Pulsar IO modules so that users can easily override them with Maven's `-D` option at compile time.
…nStatus (apache#19054)

### Motivation

Fix missing `return null` if throw any exception when `internalGetReplicatedSubscriptionStatus`

### Modifications

Add `return null` when handing exception in `internalGetReplicatedSubscriptionStatus`.
eolivelli and others added 24 commits December 27, 2022 11:55
)

Fixes [apache#18825](apache#18825)

### Motivation

Admin API can upload `BYTES` schema and store a `NONE` schema in the schema registry, which is inconsistent with the client side. After discussion, we decided to forbid users from uploading `BYTES` schema.

Mail list: https://lists.apache.org/thread/672zmptfblwjmrf9z8336mk12r7csngf

### Modifications

Add a check to reject `BYTES` schema upload.
…ssignment strategy to the load balancer extensions (apache#18964)

Master Issue: apache#16691

### Motivation
We will start raising PRs to implement PIP-192, apache#16691

### Modifications
This PR Added `LeastResourceUsageWithWeight` to the load balancer extensions and its unit test.

For the pip-192 project, this LeastResourceUsageWithWeight
- is a copy of the existing broker-bundle assignment strategy, `org.apache.pulsar.broker.loadbalance.impl.LeastResourceUsageWithWeight`.
- uses the load data from the load balancer extensions.
Signed-off-by: Max Xu <[email protected]>
Motivation
pulsar-admin sources list has the wrong parameters description.
Modifications
Should be pulsar-admin sources list --namespace <The source's namespace> --tenant <The source's tenant>
…skip them when reading messages from bookies - part7 (apache#19035)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.