Expand my Community achievements bar.

Event Forwarding using custom code

Avatar

Level 2

I need to send real-time data to Kinesis using the Core Custom Code function. I'm already using the AWS extension to send to a stream, and I need to send another stream but the extension only allows one destination per property. The Custom Code is an out of box solution, hence no adobe documentation is available. Does anyone have experience in this?

4 Replies

Avatar

Community Advisor

Hi @wolflytics 

are you talking about Launch Server-side?

 

Question: why don't you use the "Adobe Cloud Connector" extension which should make your life easier as explained here.

 

If that is not an option, you can actually make a fetch to the API endpoint in your custom code.

I would first look at the CAPi endpoint in Postman and check what's needed in terms of auth headers as well.

 

Alternatively, you could also try to replicate the same request the web / client-side library request would send.

 

Good luck

Cheers from Switzerland!


Avatar

Level 3

Have you tried adding another extension in the actions and use another extension if Kinesis is an inbuilt extension or use the adobe cloud connector and use the kinesis api endpoint

Avatar

Administrator

@wolflytics Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni