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

KIP 396 ListOffsets #2086

Merged
merged 13 commits into from
Oct 19, 2023
Merged

KIP 396 ListOffsets #2086

merged 13 commits into from
Oct 19, 2023

Conversation

mahajanadhitya
Copy link
Contributor

No description provided.

@cla-assistant
Copy link

cla-assistant bot commented Aug 7, 2023

CLA assistant check
All committers have signed the CLA.

src/Confluent.Kafka/IAdminClient.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Admin/IsolationLevel.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/IAdminClient.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/IAdminClient.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/AdminClient.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/AdminClient.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Admin/ListOffsetsRequest.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Admin/ListOffsetResultInfo.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Admin/ListOffsetsException.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Admin/ListOffsetsRequest.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/IAdminClient.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/IAdminClient.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Impl/SafeKafkaHandle.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Impl/SafeKafkaHandle.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Impl/SafeKafkaHandle.cs Outdated Show resolved Hide resolved
examples/AdminClient/Program.cs Outdated Show resolved Hide resolved
examples/AdminClient/Program.cs Outdated Show resolved Hide resolved
examples/AdminClient/Program.cs Outdated Show resolved Hide resolved
examples/AdminClient/Program.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Admin/OffsetSpec.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Impl/SafeKafkaHandle.cs Outdated Show resolved Hide resolved
src/Confluent.Kafka/Impl/SafeKafkaHandle.cs Outdated Show resolved Hide resolved
@emasab emasab force-pushed the feature/AdminClient-ListOffsets branch from ee6da94 to dcf4499 Compare October 18, 2023 11:38
@emasab emasab force-pushed the feature/AdminClient-ListOffsets branch from 23c898a to b5ba287 Compare October 19, 2023 11:04
Copy link
Member

@anchitj anchitj left a comment

Choose a reason for hiding this comment

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

Thanks for moving the API to the extensions class, completely forgot about that. Nitpick comments.

Comment on lines +72 to +75
internal TimestampSpec(long timestamp)
{
Timestamp = timestamp;
}
Copy link
Member

Choose a reason for hiding this comment

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

We can probably keep private set; accessor replacing this.


namespace Confluent.Kafka.Admin
{
/// <summary>
/// Represents the result of a list offsets operation.
/// Represents an error that occurred during a ListOffsets request.
Copy link
Member

Choose a reason for hiding this comment

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

The result of ListOffsets request (including error status).

}
};

var listOffsetsResult = await adminClient.ListOffsetsAsync(topicPartitionOffsetSpecs,options);
Copy link
Member

Choose a reason for hiding this comment

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

Spacing

Copy link
Member

@anchitj anchitj left a comment

Choose a reason for hiding this comment

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

LGTM!

@emasab emasab merged commit 07de95e into master Oct 19, 2023
2 checks passed
@emasab emasab deleted the feature/AdminClient-ListOffsets branch October 19, 2023 17:38
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.

3 participants