Function
newQueueV2Row
(
queueType persistence.QueueV2Type,
queueName string,
messageID int64,
blob *commonpb.DataBlob,
)
Source from the content-addressed store, hash-verified
| 165 | } |
| 166 | |
| 167 | func newQueueV2Row( |
| 168 | queueType persistence.QueueV2Type, |
| 169 | queueName string, |
| 170 | messageID int64, |
| 171 | blob *commonpb.DataBlob, |
| 172 | ) sqlplugin.QueueV2MessageRow { |
| 173 | |
| 174 | return sqlplugin.QueueV2MessageRow{ |
| 175 | QueueType: queueType, |
| 176 | QueueName: queueName, |
| 177 | QueuePartition: defaultPartition, |
| 178 | MessageID: messageID, |
| 179 | MessagePayload: blob.Data, |
| 180 | MessageEncoding: blob.EncodingType.String(), |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | func (q *queueV2) CreateQueue( |
| 185 | ctx context.Context, |
Tested by
no test coverage detected