Skip to content

fix: Fixes for Jakarta#874

Open
kabir wants to merge 1 commit into
a2aproject:mainfrom
kabir:processor-tccl
Open

fix: Fixes for Jakarta#874
kabir wants to merge 1 commit into
a2aproject:mainfrom
kabir:processor-tccl

Conversation

@kabir
Copy link
Copy Markdown
Collaborator

@kabir kabir commented May 12, 2026

  • Don't use TCCL to initialise the Http Client
  • Default to protocol version 1.0 when no gRPC interceptor has set the version. The WildFly gRPC subsystem does not currently have an A2A header interceptor.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates A2AHttpClientFactory to use a specific class loader for service discovery, avoiding the Thread Context Class Loader, and modifies GrpcHandler to default to the current protocol version when none is provided in the context. Feedback suggests ensuring consistency by updating other ServiceLoader calls in the factory and recommends using the ServiceLoader.stream() API for better readability.

- Don't use TCCL to initialise the Http Client
- Default 1.0 gRPC version to 1.0 if not found by interceptor (haven't worked out how to register this in WildFly)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant