Skip to content

Commit

Permalink
Issue #LR-773 fix: Added the OCI support for content_index_batch.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AmiableAnil committed Jun 17, 2024
1 parent 901a544 commit fb708e6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
19 changes: 12 additions & 7 deletions etl-jobs/ingestion-spec/content_index_batch.json
Original file line number Diff line number Diff line change
Expand Up @@ -785,13 +785,18 @@
"ioConfig":{
"type":"index",
"firehose" : {
"type" : "static-azure-blobstore",
"blobs": [
{
"container": "telemetry-data-store",
"path": "/druid-content-snapshot/snapshot.txt"
}
],
{% if cloud_storage.provider == "azure" %}
"type": "static-azure-blobstore",
"blobs": [
{
"container": "{{cloud_storage.container}}",
"path": "/{{cloud_storage.object_key}}"
}
],
{% else %}
"type": "static-s3",
"uris": [ "s3://{{cloud_storage.container}}/{{cloud_storage.object_key}}"],
{% endif %}
"fetchTimeout": 300000
}
},
Expand Down
19 changes: 12 additions & 7 deletions etl-jobs/ingestion-spec/vdn_content_index_batch.json
Original file line number Diff line number Diff line change
Expand Up @@ -847,13 +847,18 @@
"ioConfig":{
"type":"index",
"firehose" : {
"type" : "static-azure-blobstore",
"blobs": [
{
"container": "telemetry-data-store",
"path": "/druid-content-snapshot/vdn-snapshot.txt"
}
],
{% if cloud_storage.provider == "azure" %}
"type": "static-azure-blobstore",
"blobs": [
{
"container": "{{cloud_storage.container}}",
"path": "/{{cloud_storage.object_key}}"
}
],
{% else %}
"type": "static-s3",
"uris": [ "s3://{{cloud_storage.container}}/{{cloud_storage.object_key}}"],
{% endif %}
"fetchTimeout": 3000000
}
},
Expand Down

0 comments on commit fb708e6

Please sign in to comment.