You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/08/29 07:51:08 UTC
[GitHub] [rocketmq-externals] lizhiboo opened a new pull request #797: fields will not be built in SinkDataEntry
lizhiboo opened a new pull request #797:
URL: https://github.com/apache/rocketmq-externals/pull/797
## What is the purpose of the change
fields put after SinkDataEntry built, SinkDataEntry will include fields.
```java
SinkDataEntry sinkDataEntry = dataEntryBuilder.buildSinkDataEntry(message.getQueueOffset());
List<Field> fields = schema.getFields();
if (null != fields && !fields.isEmpty()) {
for (Field field : fields) {
dataEntryBuilder.putFiled(field.getName(), datas[field.getIndex()]);
}
}
return sinkDataEntry;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-externals] odbozhou commented on pull request #797: fields will not be built in SinkDataEntry
Posted by GitBox <gi...@apache.org>.
odbozhou commented on pull request #797:
URL: https://github.com/apache/rocketmq-externals/pull/797#issuecomment-908271385
please summit a issue first .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-externals] odbozhou merged pull request #797: [ISSUE #798] fields will not be built in SinkDataEntry
Posted by GitBox <gi...@apache.org>.
odbozhou merged pull request #797:
URL: https://github.com/apache/rocketmq-externals/pull/797
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-externals] odbozhou merged pull request #797: [ISSUE #798] fields will not be built in SinkDataEntry
Posted by GitBox <gi...@apache.org>.
odbozhou merged pull request #797:
URL: https://github.com/apache/rocketmq-externals/pull/797
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org