← 输入框|github.com|刷新
Skip to content

Alternative for AlwaysReturnControlSplitClient in v4.4.4  #383

Closed

Description

@sundarsan

I have upgraded the io.split.client:java-client to v4.4.4 and I am facing this import issue (AlwaysReturnControlSplitClient) what's the alternative for the same

Screenshot 2023-03-28 at 7 56 58 AM

Note: i could not get much with google searches and documentation, but what i got to know is this has been removed in one of the PR

I also tried alternatives based on the below PR link and i could not succeed as well

#278

Activity

  1. hbqdev commented on Mar 28, 2023

    @hbqdev

    Hi @sundarsan
    Can you please share with us the error you saw when you tried the workaround in PR #278 ?

    As mentioned, we have removed that class and it should not be used in general for our public API. There is no 1:1 replacement and unfortunately we don't have any alternatives besides what is already mentioned.

    Regards,

  2. sundarsan commented on Mar 29, 2023

    @sundarsan
    Author

    Screenshot 2023-03-29 at 3 40 56 PM

    I have two problem here

    1. I need to return SplitClient Instance in our mock method
    2. even with your suggestion, i donot see import package for SplitClientForTest class in v4.4.4 version which we are using
  3. hbqdev commented on Mar 29, 2023

    @hbqdev

    Hi @sundarsan

    1- SplitClientForTest implements SplitClient so returning an instance of SplitClientForTest would solve this point.

    2- SplitClientForTest belongs to java-client-testing so, in order to be able to import it, you need to add this dependency to his pom.xml

    Please give that a try and let us know.

    Regards,

  4. hbqdev commented on Apr 6, 2023

    @hbqdev

    Hi @sundarsan
    I'm closing out this issue, you can open a new issue if you still have problems.

    Regards,

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