You need to sign in to do that
Don't have an account?
Stanley He (skype: konafornia)
Same Java Streaming API listener code, work on some instances, not all.
1. Brief description of the issue:
Java client can log in and subscribe to PushTopic, but cannot receive CRUD events.
2. Org ID:
https://kfo-dev-ed.my.salesforce.com
3. Description:
I have the SAME Java code calling Streaming API, it works well with other testing Orgs which were created from OLD the old "PartnerForce".
Following "Dev Org" is created from outside (not from Environment Bub), as can be seen from the below attached log: Java code (Streaming API) can subscribe to the PushTopic successfully, but the CRUD ecents never being pushed into PushTopic. The user I am using is Syatem Admin, it has all the roles needed; to test, I also added a "Permission Set" with all related customer objects.Again, the same code works fine for Orgs previously created by PartnerForce.
Here is my tracing:
Running streaming client example....
Login successful!
Endpoint: https://kfo-dev-ed.my.salesforce.com
Sessionid=00D1a000000I2Xm!ARkAQMempbqGj8mi9CANglgiNU5REvTdLUTdq2sZlabSp01SacadCS6B61NhFCf9rfXkx545Mk_uwNDWcU3ajvsqsRGY_dQv
Waiting for handshake
[CHANNEL:META_HANDSHAKE]: {"minimumVersion":"1.0","clientId":"24pjfhnah4zf5412s9y72mnqq6c","supportedConnectionTypes":["long-polling"],"channel":"/meta/handshake","id":"1","version":"1.0","successful":true}
[CHANNEL:META_CONNECT]: {"clientId":"24pjfhnah4zf5412s9y72mnqq6c","advice":{"reconnect":"retry","interval":0,"timeout":110000},"channel":"/meta/connect","id":"2","successful":true}
Subscribing for channel: /topic/Cloudchoir_kfo
Waiting for streamed data from your organization ...
[CHANNEL:META_SUBSCRIBE]: {"clientId":"24pjfhnah4zf5412s9y72mnqq6c","channel":"/meta/subscribe","id":"4","subscription":"/topic/Cloudchoir_kfo","successful":true}
[CHANNEL:META_CONNECT]: {"clientId":"24pjfhnah4zf5412s9y72mnqq6c","channel":"/meta/connect","id":"3","successful":true}
Java client can log in and subscribe to PushTopic, but cannot receive CRUD events.
2. Org ID:
https://kfo-dev-ed.my.salesforce.com
3. Description:
I have the SAME Java code calling Streaming API, it works well with other testing Orgs which were created from OLD the old "PartnerForce".
Following "Dev Org" is created from outside (not from Environment Bub), as can be seen from the below attached log: Java code (Streaming API) can subscribe to the PushTopic successfully, but the CRUD ecents never being pushed into PushTopic. The user I am using is Syatem Admin, it has all the roles needed; to test, I also added a "Permission Set" with all related customer objects.Again, the same code works fine for Orgs previously created by PartnerForce.
Here is my tracing:
Running streaming client example....
Login successful!
Endpoint: https://kfo-dev-ed.my.salesforce.com
Sessionid=00D1a000000I2Xm!ARkAQMempbqGj8mi9CANglgiNU5REvTdLUTdq2sZlabSp01SacadCS6B61NhFCf9rfXkx545Mk_uwNDWcU3ajvsqsRGY_dQv
Waiting for handshake
[CHANNEL:META_HANDSHAKE]: {"minimumVersion":"1.0","clientId":"24pjfhnah4zf5412s9y72mnqq6c","supportedConnectionTypes":["long-polling"],"channel":"/meta/handshake","id":"1","version":"1.0","successful":true}
[CHANNEL:META_CONNECT]: {"clientId":"24pjfhnah4zf5412s9y72mnqq6c","advice":{"reconnect":"retry","interval":0,"timeout":110000},"channel":"/meta/connect","id":"2","successful":true}
Subscribing for channel: /topic/Cloudchoir_kfo
Waiting for streamed data from your organization ...
[CHANNEL:META_SUBSCRIBE]: {"clientId":"24pjfhnah4zf5412s9y72mnqq6c","channel":"/meta/subscribe","id":"4","subscription":"/topic/Cloudchoir_kfo","successful":true}
[CHANNEL:META_CONNECT]: {"clientId":"24pjfhnah4zf5412s9y72mnqq6c","channel":"/meta/connect","id":"3","successful":true}
It is the same behavor (PushTopic), using above Workbench, against Accout table, even I am Admin.
Can some one from Salesforce side to confirm that: "Dev Org, PushTopic is not enabled, even it return "successful" when user subscribe to it?