Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1214

SDK Swagger Client Java API methods returning Rx Observable are not intuitive for Java developers

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: SDK
    • Labels:


      I am, for the first time, attempting to fool around with our shiny new SDK Client Java API, for FINERACT-1209.

      I've noticed that we have configured all the service methods to returned Rx Observable. I'm aware of what that is, and perhaps I'm just too old and grumpy, but I'm not sure I like that... and am concerned that average Joe Java develpers using this SDK may get confused by it.

      Isn't the reality that in many many typical usages folks would just always do .blockingSingle() anyway? And even if we went all-in reactive in our SDK... A REST API call doesn't really return a Stream - so the API as-is doesn't seem natural, to me.

      Should we go mad and build and publish SEVERAL Fineract SDK Swagger Client Java API libraries? io.reactivex for anyone smoking that, good ol' plain simple non-reactive, modern Java 11, older Java 6, 7 AND 8 (Android?)... the more the merrier?!

      Aleksandar Vidakovic Chinmay Kulkarni Petri Tuomola Manthan Surkar


        Issue Links



            • Assignee:
              vorburger Michael Vorburger
              vorburger Michael Vorburger


              • Created:

                Issue deployment