cloudfoundry / cloudfoundry/cf-java-client

Support for Loggregator 2.x?

Open
#904 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

doppler enhancement triaged
Dominant language
Java
Stars
334
Forks
319
PR merge metrics
No merged PRs in 30d

Description

Does this Java client include support for Loggregator 2.x? I'm interested in extracting metrics through the nozzle.

Currently using a client based off of your jmx-consumer project and have seen customers run into a memory issue after a few days of running.

Caused by: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 1845494055, max: 1860698112)
    at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:640)
    at io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner(PlatformDependent.java:594)
    at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:764)
    at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:740)
    at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:244)

Any insight would be appreciated.

Thanks,
Aditya

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

No implementation file or test is named. Start by locating any existing Loggregator or nozzle integration in the Java client and compare it with the jmx-consumer-based client described. Done would require verified Loggregator 2.x support for metric extraction and a resolution or explanation for the reported direct-memory failure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.