Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metadata-ingestion/sink_docs/datahub.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Note that a `.` is used to denote nested fields in the YAML recipe.
| Field | Required | Default | Description |
| -------- | -------- | ------- | ---------------------------- |
| `server` | ✅ | | URL of DataHub GMS endpoint. |
| `timeout_sec` | | 2 | Per-HTTP request timeout. |
| `timeout_sec` | | 30 | Per-HTTP request timeout. |

## DataHub Kafka

Expand Down
4 changes: 2 additions & 2 deletions metadata-ingestion/src/datahub/emitter/rest_emitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ def _make_curl_command(


class DatahubRestEmitter:
DEFAULT_CONNECT_TIMEOUT_SEC = 10 # 10 seconds should be plenty to connect
DEFAULT_CONNECT_TIMEOUT_SEC = 30 # 30 seconds should be plenty to connect
DEFAULT_READ_TIMEOUT_SEC = (
2 # Any ingest call taking longer than 2 seconds should be abandoned
30 # Any ingest call taking longer than 30 seconds should be abandoned
)

_gms_server: str
Expand Down