Skip to content

Major refactor: Package restructure - #271

Closed
Antony Stubbs (astubbs) wants to merge 6 commits into
masterfrom
improvements/package-restructure
Closed

Major refactor: Package restructure#271
Antony Stubbs (astubbs) wants to merge 6 commits into
masterfrom
improvements/package-restructure

Conversation

@astubbs

Copy link
Copy Markdown
Contributor

Description...

Checklist

  • Documentation (if applicable)
  • Changelog

* Copyright (C) 2020-2022 Confluent, Inc.
*/

public class Message {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

docs

long highestSucceeded = partitionState.getOffsetHighestSucceeded();
byte[] encodeOffsetsCompressed(long finalOffsetForPartition, HighestOffsetAndIncompletes partitionState) throws NoEncodingPossibleException {
var incompleteOffsets = partitionState.getIncompleteOffsets();
//long highestSucceeded = partitionState.getOffsetHighestSucceeded();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

remove

import java.util.HashMap;
import java.util.Map;

@Value

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

docs

* Commit request message
*/
@Value
public class CommitRequest {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

extend

* Commit response message, linked to a {@link CommitRequest}
*/
@Value
public class CommitResponse {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

extend

@RequiredArgsConstructor(access = PRIVATE)
@Getter
@EqualsAndHashCode
public class ControllerEventMessage<K, V> {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

extend

import java.util.Collection;

@Value
public class PartitionEventMessage {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

extend

log.debug("Vert.x Vertical success");
wc.onUserFunctionSuccess();
addToMailbox(wc);
super.bus.sendWorkResultEvent(wc);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

implement delegate for add to mb

@astubbs Antony Stubbs (astubbs) added this to the 0.6 milestone May 12, 2022
@astubbs Antony Stubbs (astubbs) changed the title Improvements/package restructure Major refactor: Package restructure Dec 7, 2022
@eddyv

Copy link
Copy Markdown
Contributor

Closing - Stale.

Antony Stubbs (astubbs) added a commit to astubbs/parallel-consumer that referenced this pull request Aug 6, 2026
Master's 735b1d3 mirrored all 78 confluentinc issues into this fork, which made
a bare `#NN` ambiguous: the fork numbers from 1 and confluentinc reaches confluentinc#922, so
the ranges overlap completely. The house convention is now `#159` /
`confluentinc#526`, and `.github/scripts/issue-ref-gate.js` enforces it on added
lines via the PR Checklist job.

This branch predates that and had 15 unqualified refs across three files -
`#159`, `#40`, `#202`, `#206`, `#162`, `confluentinc#861`, `confluentinc#526`, `confluentinc#271`. Every one is now
qualified. Verified by running the gate module itself over this branch's diff
rather than by eye: 15 findings -> 0.

`upstream #NNN` is still accepted by the gate, but converted anyway - "upstream"
names a role rather than a repo, and this repo is upstream to anyone who forks
it, which is why master moved off it.

No wording changed beyond the references themselves, except the in-flight note,
which now also records that #159 IS the upstream-mirror issue for
confluentinc#526 - that is where the fork<->upstream mapping lives now that the
map entry is gone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RtNUsxokE9g2pSEjBHZqNA
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.

2 participants