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

Add default value for the partitionType to partition #863

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

RobertIndie
Copy link
Member

Motivation

In #845, we have deprecated partitionerType and recommand users to use partitioner.

Set the default value of partitionerType to partition. So that we could be able to not configure it. Otherwise, it will raise exceptions if we don't configure it.

Modifications

  • Add default value for the partitionType to partition

Verifying this change

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

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@RobertIndie RobertIndie self-assigned this Jan 15, 2024
@RobertIndie RobertIndie requested a review from a team as a code owner January 15, 2024 09:16
@github-actions github-actions bot added the no-need-doc This pr does not need any document label Jan 15, 2024
@RobertIndie RobertIndie merged commit ba24f85 into master Jan 16, 2024
4 checks passed
@RobertIndie RobertIndie deleted the set-default-partitiontype branch January 16, 2024 00:40
RobertIndie added a commit that referenced this pull request Jan 16, 2024
### Motivation

In #845, we have deprecated `partitionerType` and recommand users to use `partitioner`.

Set the default value of `partitionerType` to `partition`. So that we could be able to not configure it. Otherwise, it will raise exceptions if we don't configure it.

### Modifications

- Add default value for the partitionType to `partition`

(cherry picked from commit ba24f85)
shibd added a commit to shibd/pulsar-io-cloud-storage that referenced this pull request Oct 17, 2024
shibd added a commit that referenced this pull request Oct 22, 2024
* Revert "Add default value for the partitionType to `partition` (#863)"

This reverts commit ba24f85.

* Revert "[Proposal-1] Support Partitioner Refactoring (#845)"

This reverts commit a8d9f1d.

* feat: Add new batch model
shibd added a commit that referenced this pull request Oct 22, 2024
* Revert "Add default value for the partitionType to `partition` (#863)"

This reverts commit ba24f85.

* Revert "[Proposal-1] Support Partitioner Refactoring (#845)"

This reverts commit a8d9f1d.

* feat: Add new batch model

(cherry picked from commit 4b94112)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants