Hi SDeepika
Interfaces are the first generation of data flow software, Connectors are the second generation, with adapters being the third generation, effectively. What is recommended is dependent on your use-case. There is still a ton of usage of interfaces because there are no equivalent connectors or adapters for the same data source. Connectors are also just introducing high availability, which for some customers is required and has prevented them from using them.
May I know which case you want?
Thanks
Interfaces with UniInt Failover (UFO) existed long before connectors. Gen1 connectors support connector-level failover (similar to interfaces). Gen2 connectors support server- level failover but not connector-level failover.