MINOR: Mark KIP-848's public apis as stable (#18235)

KIP-848 will be release as GA in Apache Kafka 4.0. Hence we need to mark all the related public apis as stable.

Reviewers: Jeff Kim <jeff.kim@confluent.io>
This commit is contained in:
David Jacot 2024-12-17 20:02:23 +01:00 committed by GitHub
parent 7697d3b826
commit bc5b627ebb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
22 changed files with 0 additions and 43 deletions

View File

@ -16,14 +16,8 @@
*/
package org.apache.kafka.coordinator.group.api.assignor;
import org.apache.kafka.common.annotation.InterfaceStability;
/**
* Server-side partition assignor for consumer groups used by the GroupCoordinator.
*
* The new consumer group protocol is in preview so this interface is considered
* unstable until Apache Kafka 4.0.
*/
@InterfaceStability.Unstable
public interface ConsumerGroupPartitionAssignor extends PartitionAssignor {
}

View File

@ -16,15 +16,12 @@
*/
package org.apache.kafka.coordinator.group.api.assignor;
import org.apache.kafka.common.annotation.InterfaceStability;
import java.util.Map;
import java.util.Objects;
/**
* The partition assignment for a consumer group.
*/
@InterfaceStability.Unstable
public class GroupAssignment {
/**
* The member assignments keyed by member id.

View File

@ -17,14 +17,12 @@
package org.apache.kafka.coordinator.group.api.assignor;
import org.apache.kafka.common.Uuid;
import org.apache.kafka.common.annotation.InterfaceStability;
import java.util.Collection;
/**
* The group metadata specifications required to compute the target assignment.
*/
@InterfaceStability.Unstable
public interface GroupSpec {
/**
* @return All the member Ids of the consumer group.

View File

@ -17,7 +17,6 @@
package org.apache.kafka.coordinator.group.api.assignor;
import org.apache.kafka.common.Uuid;
import org.apache.kafka.common.annotation.InterfaceStability;
import java.util.Map;
import java.util.Set;
@ -25,7 +24,6 @@ import java.util.Set;
/**
* The partition assignment for a consumer group member.
*/
@InterfaceStability.Unstable
public interface MemberAssignment {
/**
* @return The assigned partitions keyed by topic Ids.

View File

@ -17,7 +17,6 @@
package org.apache.kafka.coordinator.group.api.assignor;
import org.apache.kafka.common.Uuid;
import org.apache.kafka.common.annotation.InterfaceStability;
import java.util.Optional;
import java.util.Set;
@ -25,7 +24,6 @@ import java.util.Set;
/**
* Interface representing the subscription metadata for a group member.
*/
@InterfaceStability.Unstable
public interface MemberSubscription {
/**
* Gets the rack Id if present.

View File

@ -16,15 +16,9 @@
*/
package org.apache.kafka.coordinator.group.api.assignor;
import org.apache.kafka.common.annotation.InterfaceStability;
/**
* Server-side partition assignor used by the GroupCoordinator.
*
* The new consumer group protocol is in preview so this interface is considered
* unstable until Apache Kafka 4.0.
*/
@InterfaceStability.Unstable
public interface PartitionAssignor {
/**
* Unique name for this assignor.

View File

@ -17,18 +17,13 @@
package org.apache.kafka.coordinator.group.api.assignor;
import org.apache.kafka.common.Uuid;
import org.apache.kafka.common.annotation.InterfaceStability;
import java.util.Set;
/**
* The subscribed topic describer is used by the {@link PartitionAssignor}
* to obtain topic and partition metadata of the subscribed topics.
*
* The interface is kept in an internal module until KIP-848 is fully
* implemented and ready to be released.
*/
@InterfaceStability.Unstable
public interface SubscribedTopicDescriber {
/**
* The number of partitions for the given topic Id.

View File

@ -16,12 +16,9 @@
*/
package org.apache.kafka.coordinator.group.api.assignor;
import org.apache.kafka.common.annotation.InterfaceStability;
/**
* The subscription type followed by a consumer group.
*/
@InterfaceStability.Unstable
public enum SubscriptionType {
/**
* A homogeneous subscription type means that all the members

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupCurrentMemberAssignmentKey",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupCurrentMemberAssignmentValue",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupMemberMetadataKey",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupMemberMetadataValue",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupMetadataKey",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupMetadataValue",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupPartitionMetadataKey",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupPartitionMetadataValue",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupRegularExpressionKey",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupRegularExpressionValue",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupTargetAssignmentMemberKey",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupTargetAssignmentMemberValue",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupTargetAssignmentMetadataKey",

View File

@ -13,7 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// KIP-848 is in development. This schema is subject to non-backwards-compatible changes.
{
"type": "data",
"name": "ConsumerGroupTargetAssignmentMetadataValue",