Skip to content

Java code generated from thrift file lacks MethodPerEndpoint, ServicePerEndpointReq, and RepServicePerEndpoint APIs #368

@viet0511

Description

@viet0511

I used scrooge-generator-22.12.0 to generate Java code with Finagle integration using the command argument: -l java --finagle. It was successful, but it did not create the MethodPerEndpoint, ServicePerEndpointReq, and RepServicePerEndpoint APIs in the generated Java code; only ServiceIface and MethodIface were created.

Upon consulting the Scrooge documentation, I discovered that these APIs are deprecated, and it recommends switching to non-deprecated code.

When I tested with the argument -l scala --finagle, all three APIs (MethodPerEndpoint, ServicePerEndpointReq, and RepServicePerEndpoint) were created in the Scala code.

Does the new API only support Scala?

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