Re: Deploy Schema Registry as an HA Setup

29 views
Skip to first unread message

Saravanan Raju

unread,
Apr 6, 2018, 5:14:55 AM4/6/18
to Ashanthi Abeyrathna, Registry
Hi,

To run in HA mode you need to spin two nodes in your case and point them to the same database. All the nodes talk to the same database will function in HA.

Thanks
Saravanan

On Wed, Apr 4, 2018 at 4:00 PM Ashanthi Abeyrathna <ashanthia...@gmail.com> wrote:
Hi,

I need to deploy Schema Registry in two nodes. Therefore we need to use an HA setup for this. Can I get some support or relevant documents for that?

Thanks a lot for your help.

Regards,
Ashanthi

--
You received this message because you are subscribed to the Google Groups "Registry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to registry+u...@googlegroups.com.
To post to this group, send email to regi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/registry/3210d8fd-2d25-447a-93ec-46089c04eb6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ashanthi Abeyrathna

unread,
Apr 6, 2018, 7:00:07 AM4/6/18
to Registry
Hi Saravanan,

Thanks for your reply. I tried it using the same way as you have mentioned. It works fine. I was able to figure out how it works with backend using the API calls. But, just to clarify, how it handles in the frontend? In addition, is there any mechanism to add a custom authentication with the schema registry?

Satish Duggana

unread,
Apr 6, 2018, 7:03:00 AM4/6/18
to Ashanthi Abeyrathna, Registry

You can explore adding a filter in webapp for any custom authentication (like SPNEGO filter added for Kerberos).

 

Thanks,

Satish.

Ashanthi Abeyrathna

unread,
Apr 6, 2018, 7:27:11 AM4/6/18
to Registry
Thanks for your reply.

Priyank Shah

unread,
Apr 8, 2018, 5:16:40 PM4/8/18
to Ashanthi Abeyrathna, Registry
Following up on Satish's recommendation for custom authentication you can take a look at https://github.com/hortonworks/registry/blob/master/common-auth/src/main/java/com/hortonworks/registries/auth/server/JWTAuthenticationHandler.java

It expects a JWT set in the request. If it does not find it it will direct to a url which can perform form based authentication or any other custom mechanism. As long as that custom authentication url sets a valid JWT as a cookie, it should work.

To unsubscribe from this group and stop receiving emails from it, send an email to registry+unsubscribe@googlegroups.com.

To post to this group, send email to regi...@googlegroups.com.

Ashanthi Abeyrathna

unread,
Apr 9, 2018, 12:36:06 AM4/9/18
to Registry
Thank you Priyank for the response. 
Reply all
Reply to author
Forward
0 new messages