envoyproxy/envoy

tap: gRPC body matching

Offen

#6.109 geöffnet am 27.02.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/taphelp wanted

Repository-Metriken

Stars
 (27.997 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

Allow matching on gRPC message fields.

  1. Allow loading descriptor files into the tap filter, similar to how the transcoder works.
  2. Using reflection, allow parsing gRPC messages up to a buffer limit (can also work with streaming messages potentially).
  3. Via field selection and a TBD matching language, allow matching on individual fields/messages using only loaded descriptor data / reflection.

See https://github.com/envoyproxy/envoy/issues/6108 for JSON matching. It's possible this can be used for that if we consider JSON a Struct.

Contributor Guide