This repository was archived by the owner on Jun 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for controlling the op_type when indexing (#356)
* Added support for controlling the op_type when indexing In order to write to data streams we'll need to set the op_type to create the default is index In order to don't serialize null values for the batch action and to not depend on custom serialization setting we're using LowLevelRequestResponseSerializer.Instance for serialization of the action. We won't throw exception when setting the TypeName to null since: - This is deprecated in v7 - Won't work in v8 * Consider op_type when parsing response from bulk action * Don't overwrite TypeName if it has been set to null In order to be able to use templates and at the same time remove the doc type we shouldn't override it if it's set to null. * Support for setting the op_type for durable sink Use the same logic for creating bulk action within the durable sink as in the standard sink. * Added change log
- Loading branch information
Showing
11 changed files
with
252 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.