Subscribe to an external api and consume topic

Can any one tell me how can I subscribe to an external api and consume topics in lagom using Java? I am a bit confused.

consume topics in lagom using Java

About consume topics you can find info in documentation.

subscribe to an external api

Sorry, but I do not understand what you mean.