Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Provide Spring gRPC DiscoveryClient integration

オープン
#1,675 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java, spring, spring-boot

調査の方向性

spring-grpc issue #341 と PR #394 のプロトタイプおよび議論から始め、次にここで挙げられている DiscoveryClient、HeartbeatEvent、Registration の抽象化を確認してください。統合を適応させる前に、モジュールの場所と Spring Cloud Commons の規約を確認してください。完了条件は、discovery:/// のターゲットが解決され、ハートビートの変更によってアドレスが更新され、gRPC_port メタデータの動作がカバーされていることです。

索引モデルが issue の本文から書いたものです。

説明

waiting-for-triage

Description

spring-projects/spring-grpc issue #341 requested support for resolving gRPC client targets such as discovery:///service-name through Spring Cloud DiscoveryClient.

A working prototype was implemented in spring-grpc, but Spring gRPC maintainers noted that this integration should live on the Spring Cloud side because of the dependency direction between Spring Boot, Spring gRPC and Spring Cloud:

Proposed Scope

Add a Spring Cloud module that bridges Spring Cloud service discovery with Spring gRPC by:

  • resolving discovery:///service-name targets through DiscoveryClient
  • refreshing resolved addresses when Spring Cloud publishes a HeartbeatEvent
  • preferring the gRPC_port metadata entry and falling back to the regular service instance port
  • optionally publishing spring.grpc.server.port as gRPC_port metadata through the Registration abstraction when metadata is mutable

Why This Belongs Here

The implementation depends on Spring Cloud abstractions such as:

  • DiscoveryClient
  • HeartbeatEvent
  • Registration

while the gRPC side can stay limited to Spring gRPC extension points.

Prior Art / Prototype

The current prototype and discussion live here:

Question

Would Spring Cloud Commons accept this as:

  1. a new module in this repository, or
  2. a different Spring Cloud repository / subproject?

If this repository is acceptable, I can adapt the current prototype to match Spring Cloud Commons conventions and open a PR here.

主要言語
Java
スター
750
フォーク
749
平均マージ
19時間 58分
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

spring-cloud/spring-cloud-commons のほかの issue

spring-cloud/spring-cloud-commons の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。