Skip to content

Instantly share code, notes, and snippets.

View mgabeler-lee-6rs's full-sized avatar

Matthew Gabeler-Lee mgabeler-lee-6rs

View GitHub Profile
@mgabeler-lee-6rs
mgabeler-lee-6rs / example-output.log
Last active August 20, 2020 05:11
Demo of applying retry policy to subscription
2020-08-20T05:08:10.567Z Creating resources for legacy
2020-08-20T05:08:10.573Z Creating topic
2020-08-20T05:08:18.934Z Getting topic metadata
2020-08-20T05:08:19.074Z Updating metadata
2020-08-20T05:08:19.608Z Creating subscription
2020-08-20T05:08:21.534Z Configuring resources for legacy
2020-08-20T05:08:21.668Z No retry policy set, adding it
2020-08-20T05:08:22.152Z Trying nack/ack for legacy
2020-08-20T05:08:22.153Z Activating subscription
2020-08-20T05:08:22.156Z Sending a message
import * as _ from 'lodash';
import {Constructor} from '@loopback/context';
import {
DefaultCrudRepository,
Entity,
juggler,
DataObject,
Options,
EntityNotFoundError,
Filter,