Repository navigation
Add EnableContentResponseOnWrite setting to reduce network IO on write operations - #235
Merged
Mark Brown (markjbrown) merged 4 commits intoOct 13, 2026
Conversation
Co-authored-by: philnach <19275540+philnach@users.noreply.github.com>
Co-authored-by: philnach <19275540+philnach@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add EnableContentResponseOnWrite option to reduce network IO
Add EnableContentResponseOnWrite setting to reduce network IO on write operations
Jan 27, 2026
Phil Nachreiner (philnach)
approved these changes
Jan 27, 2026
Phil Nachreiner (philnach)
left a comment
Collaborator
There was a problem hiding this comment.
Looks good to me.
Phil Nachreiner (philnach)
marked this pull request as ready for review
January 27, 2026 13:35
Phil Nachreiner (philnach)
requested review from
John Bowen (bowencode) and
Mark Brown (markjbrown)
January 27, 2026 13:35
Collaborator
|
Mark Brown (@markjbrown) / John Bowen (@bowencode) , added this new option per Mark's suggestion. This could improve i/o performance. |
Preserve current authentication and certificate handling while wiring configurable write responses through the shared client-options helper. Retain upstream settings documentation and cover the default and both configured values for source and sink clients. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f59038d9-5554-43f3-9018-69e49da042d3
Mark Brown (markjbrown)
approved these changes
Oct 13, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds configurable
EnableContentResponseOnWriteoption for Cosmos DB sink operations. When set tofalse, write operations (Create, Upsert, Patch, Replace) return only headers and status code, bypassing response body serialization and transmission.Changes
EnableContentResponseOnWriteproperty toCosmosSettingsBase(defaults totruefor backward compatibility)CosmosExtensionServices.CreateClient():AllowBulkExecutionnow respectssettings.AllowBulkExecution(was hardcoded totrue)EnableContentResponseOnWritenow respectssettings.EnableContentResponseOnWrite(was hardcoded tofalse)Example Configuration
{ "ConnectionString": "AccountEndpoint=https://...", "Database": "myDb", "Container": "myContainer", "EnableContentResponseOnWrite": false, "AllowBulkExecution": true }This configuration reduces network IO by ~50-80% for write-heavy workloads where response payloads are unnecessary.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.