What is Sqoop?
Sqoop leverages Gloo's function registry and Envoy's advanced HTTP routing features to provide a GraphQL frontend for REST/gRPC applications and serverless functions. Sqoop routes requests to data sources via Envoy, leveraging Envoy HTTP filters for security, load balancing, and more.
Sqoop makes HTTP requests through Gloo to invoke service endpoints and serverless functions through Gloo. Sqoop users import their GraphQL Schemas and attach Gloo functions to the fields of their schemas. Sqoop uses Gloo functions to generate its own resolvers, allowing users to get a fully-functional GraphQL frontend for their serverless functions and services without writing any code. This is why we call Sqoop the Codeless GraphQL Server.
Compared to typical GraphQL implementations, Sqoop's configuration API is quite simple. Configuration takes two steps:
- Importing GraphQL schemas into Sqoop (done most easily via
- Attaching Gloo functions to schema fields by defining resolvers in a ResolverMap.
Sqoop will execute GraphQL queries (and mutations) via port
:9090 by default.