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

[JAVA]only readable message queues are allowed to be assigned to push consumer #665

Closed

Conversation

glcrazier
Copy link
Contributor

Which Issue(s) This PR Fixes

When PushConsumer gets new assignments from the server, it does not check permission of message queues.

Brief Description

How Did You Test This Change?

@glcrazier glcrazier marked this pull request as ready for review January 4, 2024 03:39
newAssignmentList.add(assignment);
}
}
latest = new Assignments(newAssignmentList);
Copy link
Member

Choose a reason for hiding this comment

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

Add more tests here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, will do.

@aaron-ai
Copy link
Member

The queue returned by the server must always be readable, which is actually an agreement established with the server side.

@drpmma please review whether this modification is necessary, thanks.

Copy link

This PR is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR.

@github-actions github-actions bot added the stale Pull request is stale label Feb 11, 2024
Copy link

This PR was closed because it has been inactive for 3 days since being marked as stale.

@github-actions github-actions bot closed this Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Pull request is stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants