Caideyipi opened a new pull request, #18658: URL: https://github.com/apache/iotdb/pull/18658
## Description ### Allow different credentials in one consumer group - Remove the username and password equality requirement when a consumer joins an existing consumer group. - Keep the existing tree/table SQL dialect compatibility check. - Allow any existing member of the consumer group to subscribe to a topic already used by another member, regardless of username. - Report a clear consumer-membership error if subscription validation cannot find the consumer in the group. ### Preserve initial endpoint connection failures - Collect the failure reason for every initial endpoint when opening subscription providers. - Include the endpoint-to-reason mapping in the final SubscriptionConnectionException instead of returning only a generic no-provider message. - Keep the last failure as the cause and earlier failures as suppressed exceptions. - Redact plain and encrypted passwords from the aggregated user-facing message. ### Tests - mvn test -Dtest=ConsumerGroupDeSerTest -DfailIfNoTests=false -pl iotdb-core/node-commons - mvn test -Dtest=SubscriptionConsumerConnectionFailureTest -DfailIfNoTests=false -pl iotdb-client/subscription - mvn test-compile -DskipTests -pl iotdb-client/subscription,iotdb-core/confignode -am - mvn test-compile -P with-zh-locale -DskipTests -pl iotdb-client/subscription,iotdb-core/confignode -am <hr> This PR has: - [x] been self-reviewed. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage. <hr> ##### Key changed/added classes (or packages if there are too many classes) in this PR - ConsumerGroupMeta - SubscriptionInfo - AbstractSubscriptionProviders - AbstractSubscriptionConsumer - SubscriptionConsumerConnectionFailureTest -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
