@@ -151,14 +151,16 @@ message WorkflowRequestObject {
151151 // using the file extension of the name field
152152 FILE = 0 ;
153153 BPMN = 1 ; // extension 'bpmn'
154- YAML = 2 ; // extension 'yaml'
155- }
154+ YAML = 2 [ deprecated = true ] ; // extension 'yaml'; deprecated as of release 1.0
155+ }
156156
157157 // the resource basename, e.g. myProcess.bpmn
158158 string name = 1 ;
159159 // the resource type; if set to BPMN or YAML then the file extension
160160 // is ignored
161- ResourceType type = 2 ;
161+ // As of release 1.0, YAML support was removed and BPMN is the only supported resource type.
162+ // The field was kept to not break clients.
163+ ResourceType type = 2 [deprecated = true ];
162164 // the process definition as a UTF8-encoded string
163165 bytes definition = 3 ;
164166}
@@ -225,6 +227,8 @@ message PublishMessageRequest {
225227}
226228
227229message PublishMessageResponse {
230+ // the unique ID of the message that was published
231+ int64 key = 1 ;
228232}
229233
230234message ResolveIncidentRequest {
@@ -247,6 +251,8 @@ message TopologyResponse {
247251 int32 partitionsCount = 3 ;
248252 // configured replication factor for this cluster
249253 int32 replicationFactor = 4 ;
254+ // gateway version
255+ string gatewayVersion = 5 ;
250256}
251257
252258message BrokerInfo {
@@ -265,12 +271,21 @@ message Partition {
265271 enum PartitionBrokerRole {
266272 LEADER = 0 ;
267273 FOLLOWER = 1 ;
274+ INACTIVE = 2 ;
275+ }
276+
277+ // Describes the current health of the partition
278+ enum PartitionBrokerHealth {
279+ HEALTHY = 0 ;
280+ UNHEALTHY = 1 ;
268281 }
269282
270283 // the unique ID of this partition
271284 int32 partitionId = 1 ;
272285 // the role of the broker for this partition
273286 PartitionBrokerRole role = 2 ;
287+ // the health of this partition
288+ PartitionBrokerHealth health = 3 ;
274289}
275290
276291message UpdateJobRetriesRequest {
0 commit comments