straight-television-56772
09/26/2021, 11:14 AM{
"response": "[CDM KAFKA] Unable to create client for kafka: client has run out of available brokers to talk to (Is your cluster reachable?)",
"firstAttemptedAt": "2021-09-26T11:10:20.047Z"
}
I am using Hostname and port 9092 with "Enable SASL with SSL" option, SASL type, username and password.
Is there anything missing ?adamant-farmer-96194
09/26/2021, 12:22 PMadamant-farmer-96194
09/27/2021, 7:51 AMrudder.page({
'title': 'Hello',
'foo': 'bar'
})
I couldn't find these two properties on Posthog event details page.adamant-farmer-96194
09/27/2021, 10:00 AMposthog.reset()
when rudderstack.reset()
is called? didn't find any document about this. Thanks!tall-table-22243
09/28/2021, 3:03 AMadorable-gold-9667
09/28/2021, 11:36 AMadorable-gold-9667
09/28/2021, 12:23 PM/***
* Docs: <https://docs.rudderstack.com/adding-a-new-user-transformation-in-rudderstack>
* Examples: <https://github.com/rudderlabs/sample-user-transformers>
* This function gets executed on each event before it gets pushed to a destination
* event => JSON object of Event sent to rudder
* metadata (optional) => Javascript function which can be used to access metadata of
the given event by calling metadata(event)
* After all the transformations are done, the final event that
* needs to be pushed to the destination should be returned by this function
***/
export function transformEvent(event, metadata) {
try{
const userAnswersArray = event?.properties?.form_response?.answers;
if(!userAnswersArray) {
return event;
}
const getUserEmail = () =>
userAnswersArray?.find?.((ans) => ans?.type === 'email')?.email;
const userEmail = getUserEmail();
const ownsOculus = userAnswersArray?.[0]?.choice?.label;
const ownsOculusBool = ownsOculus === 'Yes';
const interestedInVRBeta = ownsOculusBool ? 'Yes' : userAnswersArray?.[1]?.['boolean'] ? 'Yes' : 'No';
const userFullname = userAnswersArray?.[2 - (ownsOculus ? 0 : 1)]?.text;
const userPhone = userAnswersArray?.[4 - (ownsOculus ? 0 : 1)]?.phone_number;
const agreedToTerms =
userAnswersArray?.[5 - (ownsOculus ? 0 : 1)]?.choice?.label;
const userAddress = ownsOculusBool
? ''
: userAnswersArray?.[5 - (ownsOculus ? 0 : 1)]?.text;
const streetAnxiety = userAnswersArray?.[6]?.choice?.label;
const busAnxiety = userAnswersArray?.[7]?.choice?.label;
const cafeAnxiety = userAnswersArray?.[8]?.choice?.label;
const doctorAnxiety = userAnswersArray?.[9]?.choice?.label;
const cornerShopAnxiety = userAnswersArray?.[10]?.choice?.label;
const calendlyUrl = userAnswersArray?.[10]?.url;
const timestamp = event?.properties?.form_response?.submitted_at;
return {
anonymousId: event.anonymousId,
event: 'identify',
type: 'identify',
messageId: event.messageId,
originalTimestamp: timestamp,
integrations: {
All: true,
},
userId: userEmail,
context: {
traits: {
name: userFullname,
phone: userPhone,
email: userEmail,
...(ownsOculusBool
? {
'Owns Oculus': ownsOculus,
'Interested in VR Beta': interestedInVRBeta,
'Agreed to terms': agreedToTerms,
'Street Anxiety level': streetAnxiety,
'Bus Anxiety level': busAnxiety,
'Cafe Anxiety level': cafeAnxiety,
'Doctor Anxiety level': doctorAnxiety,
'Corner shop Anxiety level': cornerShopAnxiety,
'Calendly URL': calendlyUrl,
'Is VR Paid': 'No'
}
: {
'User Address': userAddress,
'Is VR Paid': 'Yes'
}),
},
},
};} catch (e) {
return {...event, transformationError: {e}};
}
}
Now on the transformation page when I do Run Test
it works fine
However, when I try to debug in the live events tab I keep getting this error:
Ideally I shouldn’t get this error since the whole code is surrounded by a try catch block right?
Source is webhook and destination is Braze and I am viewing Live Events for Braze as a destinationadorable-gold-9667
09/28/2021, 4:54 PMtrack
event to the destination - is there any way to convert it into an identify event?
So the context is
Webhook -> User transformation -> Braze (but should go to Braze as an identify event and not a track event)powerful-portugal-50653
09/28/2021, 6:39 PMbest-window-87695
09/29/2021, 2:01 AMbest-window-87695
09/29/2021, 2:01 AMbest-window-87695
09/29/2021, 2:02 AM/{project_path}/node_modules/@rudderstack/rudder-sdk-react-native/ios/RNRudderAnalytics.h:9:9: 'RSIntegrationFactory.h' file not found with <angled> include; use "quotes" instead
#import <RSIntegrationFactory.h>
^~~~~~~~~~~~~~~~~~~~~~~~
/{project_path}//node_modules/@rudderstack/rudder-sdk-react-native/ios/RNRudderAnalytics.h:10:9: 'RSConfig.h' file not found with <angled> include; use "quotes" instead
#import <RSConfig.h>
^~~~~~~~~~~~stocky-elephant-42978
09/29/2021, 8:58 AMadamant-farmer-96194
09/29/2021, 1:16 PMprocessor.active_users
adamant-farmer-96194
09/29/2021, 1:16 PMadamant-farmer-96194
09/29/2021, 1:19 PMbest-window-87695
09/29/2021, 6:30 PMfuture-cartoon-38411
09/29/2021, 9:19 PMgetInstance
, (ref) while on iOS it needs to be set after calling getInstance
, this gets complex when developing in flutter, I’m ending up with code that looks like this:
if (Platform.isAndroid) {
RudderClient.setAdvertisingId(...);
}
RudderClient.getInstance(...);
if (Platform.isIOS) {
RudderClient.setAdvertisingId(...):
}
better-hamburger-47047
09/30/2021, 6:42 AMcold-twilight-47953
09/30/2021, 8:03 AMlimited-eye-25440
09/30/2021, 8:20 AM{
"message": "Salesforce Response: authentication failure",
"status": 500,
"code": "internalError"
}
handsome-jordan-79455
09/30/2021, 9:28 AMhandsome-jordan-79455
09/30/2021, 9:30 AMadamant-farmer-96194
09/30/2021, 5:56 PMs3:GetObject
permission required, How rudderstack read events from S3 to delivery these events?adamant-farmer-96194
09/30/2021, 5:57 PMThe events are deleted from the bucket upon successful delivery of the events. RudderStack does not persist any of the customer data.
future-cartoon-38411
09/30/2021, 6:00 PMclever-helmet-16168
10/01/2021, 4:34 AM{
"error": "Cannot set property '$add' of null"
}
any idea what this means?rough-alligator-32210
10/01/2021, 6:57 AMrudder-server
fails due to running out of memory I’m attaching 2 new memory utilisation graphs
• First one is for the past 24h, second is for the past week
• Please note red circles is the service going down due to running out of memoryable-island-41666
10/01/2021, 9:43 AM{
"error": "SyntaxError: Unexpected token ."
}
the transformer works fine if I copy the failed event and run the test in rudderstack.better-hamburger-47047
10/01/2021, 11:42 AM