palantir / palantir/conjure-java-runtime

default converter <> streaming

Open
#1,536 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
95
Forks
96
Avg merge
3h 38m
Merged PRs (30d)
33

Description

Do we know if streaming still work with the default converters?

We have a workflow which we want to check the size of ResponseBody before loading it all in memory. We are currently doing to in a response converter (not using conjure retrofit2 client). Since we cant register it with Retrofit2Client, there's no way for us to enforce the size and prevent the result from omm-ing our server.

Any suggestion?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue mentions default converters, ResponseBody, and Retrofit2Client but names no files or tests. Start by locating those entry points and determine whether streaming and response-size enforcement are supported; done should be a documented or tested way to prevent oversized responses before they are fully loaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.