You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the bulk helper function, the function doesn't throw, or doesn't notify on failures using any other mechanism i have found (onDrop \ result errors).
I have set the node value for a URL that doesn't have an elastic cluster listening on.
When you use stream datasource nothing happens, but when the datasource is array an exception is thrown.
To Reproduce
Run the following code and swap between the datasources to see the different behaviours.
make sure the client is pointed to an address with no cluster running.
When its stream nothing gets printed.
When its array a connection refused error gets printed to the console.
🐛 Bug Report
When using the bulk helper function, the function doesn't throw, or doesn't notify on failures using any other mechanism i have found (onDrop \ result errors).
I have set the node value for a URL that doesn't have an elastic cluster listening on.
When you use stream datasource nothing happens, but when the datasource is array an exception is thrown.
To Reproduce
Run the following code and swap between the datasources to see the different behaviours.
make sure the client is pointed to an address with no cluster running.
connection refused
error gets printed to the console.Paste your code here:
Expected behavior
You have a way to detect such errors, either if they are thrown or by an event handler.
Your Environment
@elastic/elasticsearch
version: =8.10.0The text was updated successfully, but these errors were encountered: