AnuragReddy2000 commented on code in PR #60:
URL: https://github.com/apache/pulsar-adapters/pull/60#discussion_r1960947256
##########
pulsar-storm/src/main/java/org/apache/pulsar/storm/PulsarSpout.java:
##########
@@ -325,7 +345,13 @@ public void declareOutputFields(OutputFieldsDeclarer
declarer) {
private boolean mapToValueAndEmit(Message<byte[]> msg) {
if (msg != null) {
- Values values =
pulsarSpoutConf.getMessageToValuesMapper().toValues(msg);
+ Values values;
+ try{
+ values =
pulsarSpoutConf.getMessageToValuesMapper().toValues(msg);
+ } catch (Exception e){
Review Comment:
Yes, this change is not related to this PR. Let me remove it here and create
a separate one for it.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]