WesleyOne opened a new issue #127:
URL: https://github.com/apache/rocketmq-streams/issues/127


   plz close this issue if same as #90 
   
   org.apache.rocketmq.streams.examples.source.FileSourceExample
   
   if fromFile is not exist, will throwing NPE as below.
   
   ![截屏2022-01-30 13 02 
00](https://user-images.githubusercontent.com/24919538/151687389-83611faa-4a67-4dda-8491-93e53f044464.png)
   
   ```
   java.lang.NullPointerException
        at 
org.apache.rocketmq.streams.common.channel.impl.file.FileSource.startSource(FileSource.java:90)
        at 
org.apache.rocketmq.streams.common.channel.source.AbstractSource.start(AbstractSource.java:114)
        at 
org.apache.rocketmq.streams.common.topology.ChainPipeline.startChannel(ChainPipeline.java:150)
        at 
org.apache.rocketmq.streams.client.transform.DataStream$7.run(DataStream.java:714)
        at java.lang.Thread.run(Thread.java:748)
   ```
   
   how about fast-fail with throwing FileNotFoundException


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