Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Once the dataset is enabled for Upsert functionality via API, can it also be used for Streaming ingestion?
Solucionado! Ir para a Solução.
Os tópicos ajudam a categorizar o conteúdo da comunidade e aumentam sua capacidade de descobrir conteúdo relevante.
Hello @BellaSnow5378
Can you please try this payload for upsert againt the data collection. Notice the xdmEntity is changed to xdmUpdate
{
"header": {
"msgType": "xdmEntityUpdate",
"msgId": "{{guid}}",
"xactionId": "{{current_timestamp}}{{guid}}",
"createdAt": "{{epoch_time}}",
"originalTimestamp": "{{epoch_time}}",
"datasetId": "<dataSetID>",
"dataStreamId": "",
"imsOrgId": "<IMSORG>",
"xdmSchema": {
"name": "_xdm.context.profile",
"version": "1.0"
},
"source": {
"name": "<sourceName>"
}
},
"body": {
"xdmEntityUpdates": {
"_<tenant>": {
<Attributes are here>
}
}
}
}
Visualizações
respostas
Total de curtidas
Hello @BellaSnow5378
Yes you can use streaming ingesting after a dataSet has been enabled for upsert, but please be aware there are some limitations and inbound payload changes.
Please refer to this article.
https://experienceleague.adobe.com/en/docs/experience-platform/data-prep/upserts
Visualizações
respostas
Total de curtidas
Hi @brekrut
Problem Statement :
Once data is ingested through streaming for a particular profile. Ex. (name :xyz , country :spain )in this we need to update the name of an attribute value . For that profile without getting the data override /deleted of other attributes .Is there any way to update one field and retain all the data for that profile .
Is there any way to do this and if yes can you please let me know the steps .
Visualizações
respostas
Total de curtidas
Hello @BellaSnow5378
If you are streaming data for into a dataSet which has been enabled for upsert, you will need to use the merge operation as part of the inbound payload.
When a dataSet is not configured for upsert the last write of data upon the dataset will be reflected upon profile.
Visualizações
respostas
Total de curtidas
Hi @brekrut
Still facing the same issue
Steps i followed
Created Two dataset
Visualizações
respostas
Total de curtidas
Hello @BellaSnow5378
Can you please try this payload for upsert againt the data collection. Notice the xdmEntity is changed to xdmUpdate
{
"header": {
"msgType": "xdmEntityUpdate",
"msgId": "{{guid}}",
"xactionId": "{{current_timestamp}}{{guid}}",
"createdAt": "{{epoch_time}}",
"originalTimestamp": "{{epoch_time}}",
"datasetId": "<dataSetID>",
"dataStreamId": "",
"imsOrgId": "<IMSORG>",
"xdmSchema": {
"name": "_xdm.context.profile",
"version": "1.0"
},
"source": {
"name": "<sourceName>"
}
},
"body": {
"xdmEntityUpdates": {
"_<tenant>": {
<Attributes are here>
}
}
}
}
Visualizações
respostas
Total de curtidas
Enabling dataset for Profile, using the API (isUpsertEnabled) is only for enabling upsert on batch ingestion.
To use the Streaming Upserts, you could either use XDM compatible or non XDM payloads.
Although, your payload looks like XDM payload, for streaming upsert, you could adopt XDM inCompatible ingestion, and follow the https://experienceleague.adobe.com/en/docs/experience-platform/data-prep/upserts#:~:text=this%20exam... and remove the XDM Entity object(in the above) and make sure to have the mapping in the data prep (Dataflow).
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas