thesumery opened a new issue, #5737:
URL: https://github.com/apache/inlong/issues/5737

   ### What happened
   
   when config format is inLongMsg, and it's inner format is raw format, 
receive data and deserialize will throw nullpointException.
   
   
![WXWorkCapture_16617860441723](https://user-images.githubusercontent.com/107393625/187345446-709ec304-3c02-4b69-9cc2-f3bffcad71e5.png)
   
   
   ### What you expected to happen
   
   deserialize  successful.
   
   ### How to reproduce
   
   1. prepare a flink environment(flink 1.13.6)
   2. put all dependency into flink lib
   3. start flink standalone service
   4. execute flink sql client
   ```
   CREATE TABLE `table_b_s5825b746-225f-40ff-afaf-eb273c64dcf3`(
       `__content__` STRING)
       WITH (
       'inlong.metric' = 
's5825b746-225f-40ff-afaf-eb273c64dcf3&b_s5825b746-225f-40ff-afaf-eb273c64dcf3&b_s5825b746-225f-40ff-afaf-eb273c64dcf3',
       'connector' = 'pulsar-inlong',
       'inlong-msg.inner.format' = 'raw',
       'format' = 'inlong-msg',
       'inlong-msg.raw.charset' = 'UTF-8',
       'inlong-msg.raw.endianness' = 'big-endian',
       'inlong-msg.ignore-parse-errors' = 'false',
       'generic' = 'true',
       'admin-url' = 'localhost:8080',
       'service-url' = 'localhost:6650',
       'topic' = 
'pulsar-op488nga8meo/namespace_1257305158_20220826111254509798/b_s5825b746-225f-40ff-afaf-eb273c64dcf3',
       'scan.startup.mode' = 'earliest'
   );
   select * from table_b_s5825b746-225f-40ff-afaf-eb273c64dcf3;
   ```
   5. start pulsar service and produce data into pulsar
   produce inlong msg data into pulsar.
   
   ### Environment
   
   _No response_
   
   ### InLong version
   
   1.3.0
   
   ### InLong Component
   
   InLong Sort
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to