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

PlainPartitionedWithOffset source #80

Conversation

IgorFedchenko
Copy link
Contributor

One more PR related to #36 , implements PlainPartitionedWithOffset source.

This one is pretty simple, because reuses SubSourceStage implemented for PlainPartitionedSource, but passes initial offsets to start from.

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

LGTM

using Xunit;
using Xunit.Abstractions;

namespace Akka.Streams.Kafka.Tests.Integration
Copy link
Member

Choose a reason for hiding this comment

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

Tests look good to me

/// When a topic-partition is assigned to a consumer, the <see cref="getOffsetsOnAssign"/>
/// function will be called to retrieve the offset, followed by a seek to the correct spot in the partition.
///
/// The <see cref="onRevoke"/> function gives the consumer a chance to store any uncommitted offsets, and do any other cleanup
Copy link
Member

Choose a reason for hiding this comment

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

Helpful description.

@Aaronontheweb Aaronontheweb merged commit ab26dfc into akkadotnet:dev Oct 15, 2019
@IgorFedchenko IgorFedchenko deleted the plain_partitioned_with_offset_source branch October 18, 2019 12:27
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.

2 participants