Skip to content

Future: detect blocking calls in methods that return Futures #76

@vlsi

Description

@vlsi

Motivation

https://twitter.com/leventov/status/1209782345756270592
https://cwiki.apache.org/confluence/display/KAFKA/KIP-286%3A+producer.send%28%29+should+not+block+on+metadata+update

Desired solution

It should print an error or raise an exception if a blocking call is executed from a method that returns Future.

Considered alternatives

Inspect code manually

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions