Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-05-06 Thread via GitHub
DL1231 commented on PR #19430: URL: https://github.com/apache/kafka/pull/19430#issuecomment-2853819965 @apoorvmittal10 @AndrewJSchofield `group.share.delivery.count.limit` is limited to 2~10 and cannot be set to 1, do we need to modify this definition or modify this IT? -- This is an aut

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-05-06 Thread via GitHub
apoorvmittal10 commented on PR #19430: URL: https://github.com/apache/kafka/pull/19430#issuecomment-2853825000 > @apoorvmittal10 @AndrewJSchofield `group.share.delivery.count.limit` is limited to 2~10 and cannot be set to 1, do we need to modify this definition or modify this IT? Yea

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-05-01 Thread via GitHub
DL1231 commented on PR #19430: URL: https://github.com/apache/kafka/pull/19430#issuecomment-2845094174 @AndrewJSchofield @apoorvmittal10 Thanks for your suggestion. I’ll finish it later. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-05-01 Thread via GitHub
AndrewJSchofield merged PR #19430: URL: https://github.com/apache/kafka/pull/19430 -- 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: jira-unsubscr...@kafk

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-29 Thread via GitHub
AndrewJSchofield commented on code in PR #19430: URL: https://github.com/apache/kafka/pull/19430#discussion_r2066391545 ## clients/clients-integration-tests/src/test/java/org/apache/kafka/clients/consumer/ShareConsumerTest.java: ## @@ -2000,6 +1998,29 @@ public void testShareCon

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-28 Thread via GitHub
apoorvmittal10 commented on code in PR #19430: URL: https://github.com/apache/kafka/pull/19430#discussion_r2063589486 ## core/src/main/java/kafka/server/share/SharePartition.java: ## @@ -2999,23 +3010,32 @@ private boolean hasOngoingStateTransition() { /** *

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-24 Thread via GitHub
DL1231 commented on code in PR #19430: URL: https://github.com/apache/kafka/pull/19430#discussion_r2059445472 ## core/src/test/java/kafka/server/share/SharePartitionTest.java: ## @@ -4887,14 +4889,50 @@ public void testReleaseAcquiredRecordsBatchesPostStartOffsetMovementToMiddl

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-23 Thread via GitHub
apoorvmittal10 commented on code in PR #19430: URL: https://github.com/apache/kafka/pull/19430#discussion_r2055767896 ## core/src/main/java/kafka/server/share/SharePartition.java: ## @@ -3003,24 +3014,32 @@ private boolean hasOngoingStateTransition() { * if the state u

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-22 Thread via GitHub
DL1231 commented on code in PR #19430: URL: https://github.com/apache/kafka/pull/19430#discussion_r2055365066 ## core/src/main/java/kafka/server/share/SharePartition.java: ## @@ -3003,24 +3014,32 @@ private boolean hasOngoingStateTransition() { * if the state update is

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-21 Thread via GitHub
apoorvmittal10 commented on code in PR #19430: URL: https://github.com/apache/kafka/pull/19430#discussion_r2052861184 ## core/src/main/java/kafka/server/share/SharePartition.java: ## @@ -197,6 +197,16 @@ public byte id() { } } +/** + * The DeliveryCountOp

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-17 Thread via GitHub
apoorvmittal10 commented on code in PR #19430: URL: https://github.com/apache/kafka/pull/19430#discussion_r2048869119 ## core/src/main/java/kafka/server/share/SharePartition.java: ## @@ -1011,6 +1011,8 @@ private Optional releaseAcquiredRecordsForPerOffsetBatch(String membe

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-15 Thread via GitHub
DL1231 commented on code in PR #19430: URL: https://github.com/apache/kafka/pull/19430#discussion_r2043802656 ## core/src/main/java/kafka/server/share/SharePartition.java: ## @@ -1011,6 +1011,8 @@ private Optional releaseAcquiredRecordsForPerOffsetBatch(String membe

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-11 Thread via GitHub
apoorvmittal10 commented on code in PR #19430: URL: https://github.com/apache/kafka/pull/19430#discussion_r2039566989 ## core/src/main/java/kafka/server/share/SharePartition.java: ## @@ -1011,6 +1011,8 @@ private Optional releaseAcquiredRecordsForPerOffsetBatch(String membe

Re: [PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-10 Thread via GitHub
AndrewJSchofield commented on PR #19430: URL: https://github.com/apache/kafka/pull/19430#issuecomment-2794085366 @DL1231 Looks like a compile failure. -- 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

[PR] KAFKA-17541:[1/2] Improve handling of delivery count [kafka]

2025-04-09 Thread via GitHub
DL1231 opened a new pull request, #19430: URL: https://github.com/apache/kafka/pull/19430 For records which are automatically released as a result of closing a share session normally, the delivery count should not be incremented. These records were fetched but they were not actually deliver