Nifi ExecuteSql处理器中的错误处理

时间:2020-01-22 09:52:23

标签: apache-nifi

我正在尝试从websocket客户端执行sql查询。我将查询传递给ExecuteSql。 当sql查询正确或没有错误时,它工作正常。现在,我想通过websocket客户端返回数据库错误。 我尝试记录属性,然后将其发送到websocket客户端,但是它不起作用。 Here is the template for the same

我使用https://www.websocket.org/echo.html作为客户端并将查询发送到nifi websocket服务器。

如何将数据库错误发送到Websocket?

0 个答案:

没有答案