Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plateform event Manager #15

Closed
19 of 25 tasks
dufoli opened this issue Mar 20, 2024 · 1 comment · Fixed by #112
Closed
19 of 25 tasks

plateform event Manager #15

dufoli opened this issue Mar 20, 2024 · 1 comment · Fixed by #112
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dufoli
Copy link
Owner

dufoli commented Mar 20, 2024

Plateform event page

features:

  • 3 tabs:
    • 2) subscribe (or add with button on monitor)
      • list of subscribe event (delete button)
      • Add replay option : no replay, past events
        • all channel or select on
          • one: event type : pushTopic event, generic event, standard plateform event, custm platefom event,
            change data capture event, change data captur channel, monitoring events
          • one: event name => streaming channel
    • 3) publish (publish event + register event source)
    • 1 ) Monitor :
      • filter : event + date + payload contain (search keyword)
      • table or graphic like elastic search
  • on import if plateform event display a button to fire from browser
  • publish plateforme event channel payload channel custom event and [payload channel change event] (https://help.salesforce.com/s/articleView?id=sf.ev_relay_create_channel_cdc.htm&type=5)
  • publish plateforme event channel member [payload channel member plateform event] (https://help.salesforce.com/s/articleView?id=sf.ev_relay_create_channel_member_pe.htm&type=5) payload channel member change event
  • link to event relay setup
  • monitoring with : SELECT FIELDS(ALL) FROM EventRelayFeedback LIMIT 200
  • monitoring with : SELECT Name, StartDate, Value FROM PlatformEventUsageMetric ORDER BY StartDate
  • send mass event from import from browser to avoid limits of sf with put event api
  • Generic event channel : SELECT Id, Name FROM StreamingChannel ORDER BY Name
  • Topic event channel : SELECT Name FROM PushTopic ORDER BY Name
  • change data capture standard : SELECT Label, QualifiedApiName FROM EntityDefinition WHERE PublisherId = 'CDC'
  • change data capture custom : SELECT Label, QualifiedApiName FROM EntityDefinition WHERE PublisherId = ''
  • custom platefom event channel : SELECT Label, QualifiedApiName, IsCustomizable FROM EntityDefinition WHERE IsCustomizable = TRUE AND QualifiedApiName LIKE '%e' AND PublisherId = '' ORDER BY Label ASC
  • standard platefom event channel : SELECT Label, QualifiedApiName, IsCustomizable FROM EntityDefinition WHERE IsCustomizable = FALSE AND IsEverCreatable = TRUE AND QualifiedApiName like '%Event' AND PublisherId != 'CDC' ORDER BY Label ASC
  • push event to sf /services/data/v59.0/sobjects/StreamingChannel/[channelId]/push

A second need is to be able to register an app to check if event is well fired on server side.

to analyze: https://docs.cometd.org/current/reference/#_cometd_browser_support
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/PutEventsCommand/

@dufoli dufoli added the enhancement New feature or request label Mar 20, 2024
@dufoli dufoli self-assigned this Mar 20, 2024
@dufoli dufoli mentioned this issue Mar 21, 2024
93 tasks
@dufoli
Copy link
Owner Author

dufoli commented Mar 22, 2024

example of error on event relay :
You've exceeded the event delivery limit for your org. More details = [ Code [relay.aqueduct.tenant.limit.error], Message [RateLimitingException: RateLimitResponse{overallCode=OVER_LIMIT, statuses=[DescriptorStatus{name=EmpHighVolumePlatformEventPerDayDeliveryRateLimit, code=OVER_LIMIT, entry=[Limit, EmpHighVolumePlatformEventPerDayDeliveryRateLimit, OrganizationId, 00D0Y000001IuuP], requested=5, available=0, window=24x1h, allocation=25000, durationUntilReset=1090s}]}] ].

@dufoli dufoli added this to the 1.26 milestone Apr 28, 2024
@dufoli dufoli modified the milestones: 1.26, 1.27 May 8, 2024
@dufoli dufoli mentioned this issue May 21, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant