-
New Feature
-
Resolution: Fixed
-
Minor
-
None
Remoting Kafka Plugin implements its own Command Transport, which creates Command Instances. Proper deserialization of Commands requires setting proper classloader and a local channel instances.
There is a Command#readFrom() method which does it, but it's package-private. Also, a construction of the ObjectInputStreamEx requires package-private Channel fields.
I propose to create a public Channel#readFrom(Channel, byte[] payload) method so that it can be used externally
[JENKINS-51841] Remoting Extensibility: Provide API for constructing commands in remote CommandTransport implementations
Epic Link |
New:
|
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "Reference Impl: https://github.com/pvtuan10/remoting-kafka-plugin/pull/1 (Web Link)" [ 20827 ] |
Remote Link | New: This issue links to "https://github.com/jenkinsci/remoting/pull/276 (Web Link)" [ 20828 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Resolved [ 5 ] |