-
Notifications
You must be signed in to change notification settings - Fork 635
Open
Labels
Area: HelpersImprovements or additions to the helpImprovements or additions to the helpCategory: EnhancementNew feature or requestNew feature or request
Description
Currently, NewBulkInderxer function creates a elasticsearch.Client with default ES URL=localhost:9200 in case if it is not provided by the consumer. In most of the PROD ready applications ES Url address would be different from the default address and it makes sense to give a feedback in terms of error rather than creating it to default. This will help in getting an early feedback to the consumer to course correct it.
https://github.com/elastic/go-elasticsearch/blob/main/esutil/bulk_indexer.go#L190
Metadata
Metadata
Assignees
Labels
Area: HelpersImprovements or additions to the helpImprovements or additions to the helpCategory: EnhancementNew feature or requestNew feature or request