Skip to content

RebalanceExtSpec failure: SubSource caught in die / recreate loop for partition #465

@Aaronontheweb

Description

@Aaronontheweb

Version Information
Version of Akka.NET? dev branch (v1.5.39-beta2)
Which Akka.NET Modules?

Describe the bug

Looks like a CommittablePartitionedSource got stuck in a loop on #464 - see a lot of this in the logs:

[DEBUG][03/16/2025 23:45:03.061Z][Thread 0029][RebalanceExtTests (akka://RebalanceExtTests)] [consumer-1] Consuming partitioned source clientId: consumer-1, for tp: topic-1-1b046062-6731-496d-8524-58cef5321605 [[1]]
[INFO][03/16/2025 23:45:03.062Z][Thread 0029][SourceShape`1([] [out])(akka://RebalanceExtTests/user/StreamSupervisor-49)] 51 Starting SubSource for partition topic-1-1b046062-6731-496d-8524-58cef5321605 [[1]]
[DEBUG][03/16/2025 23:45:03.062Z][Thread 0029][RebalanceExtTests (akka://RebalanceExtTests)] [consumer-1] Consuming partitioned source clientId: consumer-1, for tp: topic-1-1b046062-6731-496d-8524-58cef5321605 [[1]]
[INFO][03/16/2025 23:45:03.062Z][Thread 0029][SourceShape`1([] [out])(akka://RebalanceExtTests/user/StreamSupervisor-49)] 51 Starting SubSource for partition topic-1-1b046062-6731-496d-8524-58cef5321605 [[1]]
[DEBUG][03/16/2025 23:45:03.062Z][Thread 0029][RebalanceExtTests (akka://RebalanceExtTests)] [consumer-1] Consuming partitioned source clientId: consumer-1, for tp: topic-1-1b046062-6731-496d-8524-58cef5321605 [[1]]
[INFO][03/16/2025 23:45:03.063Z][Thread 0029][SourceShape`1([] [out])(akka://RebalanceExtTests/user/StreamSupervisor-49)] 51 Starting SubSource for partition topic-1-1b046062-6731-496d-8524-58cef5321605 [[1]]
[DEBUG][03/16/2025 23:45:03.063Z][Thread 0029][RebalanceExtTests (akka://RebalanceExtTests)] [consumer-1] Consuming partitioned source clientId: consumer-1, for tp: topic-1-1b046062-6731-496d-8524-58cef5321605 [[1]]

To Reproduce

Links to working reproductions on Github / Gitlab are very much appreciated

Expected behavior

Stream should complete normally.

Actual behavior

Stream was stuck in a terminal loop.

Logs

See attached:

Standard_Console_Output (6).log

Environment

Azure DevOps

Additional context

It's very possible that the old BatchCommiterFlow logic might be responsible for this in and the fixes in #458 resolve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions