Skip to content

Commit

Permalink
feat(fxgcppubsub): Added schemas support
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkinox committed Jun 5, 2024
1 parent abb6ea5 commit 3912f1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fxgcppubsub/schema/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package schema

import (
"context"
"fmt"
"sync"

"cloud.google.com/go/pubsub"
Expand Down Expand Up @@ -30,6 +31,7 @@ func (r *SchemaRegistry) Get(ctx context.Context, schemaID string) (*pubsub.Sche

schema, err := r.client.Schema(ctx, schemaID, pubsub.SchemaViewFull)
if err != nil {
fmt.Printf("error: %s\n", err)
return nil, err
}

Expand Down

0 comments on commit 3912f1d

Please sign in to comment.