So I've done:
All this steps passed successfully.
...these steps are clear for testing. But I need SF to publish object changes, not REST API. So I tried the same (create topic using developer console and connect to listen changes) with configured topic via devconsole.
PushTopic pushTopic = new PushTopic(); pushTopic.Name = 'AccountChanges'; pushTopic.Query = 'SELECT Id, Name FROM Account'; pushTopic.ApiVersion = 43.0; pushTopic.NotifyForOperationCreate = true; pushTopic.NotifyForOperationUpdate = true; pushTopic.NotifyForOperationUndelete = true; pushTopic.NotifyForOperationDelete = true; pushTopic.NotifyForFields = 'Referenced'; insert pushTopic;
I published new Accounts into the SF, but no notifications was received (accept handshake). Trying check topics created in SF via developer console - no topics found in Streaming Channels menu (on UI).