Skip to content

No generic in JStreamParallelStreamProcessor factory method #486

Closed

Description

@acktsap

static JStreamParallelStreamProcessor createJStreamEosStreamProcessor(ParallelConsumerOptions<?, ?> options) {
return new JStreamParallelEoSStreamProcessor<>(options);
}

It looks removed in #223. It is intended?

Activity

  1. astubbs commented on Nov 30, 2022

    @astubbs
    Contributor

    Hi! You’re the first person to ever ask about this interface :)
    Aside from your question, may I know why this interface is your preference?
    I’ll take a look soon.

  2. acktsap commented on Dec 1, 2022

    @acktsap
    ContributorAuthor

    Thanks for reply!

    Actually i don't use it. I just think it would be better to keep consistency with ParallelStreamProcessor.

    static <KK, VV> ParallelStreamProcessor<KK, VV> createEosStreamProcessor(ParallelConsumerOptions<KK, VV> options) {
    return new ParallelEoSStreamProcessor(options);
    }

  3. astubbs commented on Dec 2, 2022

    @astubbs
    Contributor

    Yes, def. I'll fix it. But I'm also thinking about removing the Stream interfaces.

  4. added a commit that references this issue on Dec 7, 2022
    d5b7911
  5. added a commit that references this issue on Dec 7, 2022
    315b7f6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions