I set Durability to TRANSIENT_LAOCAL_DURABILITY_QOS in DataWriter.
Do I need to set Durability to TRANSIENT_LAOCAL_DURABILITY_QOS in Topic Qos for TRANSIENT_LAOCAL_DURABILITY_QOS to work properly?
Do I need to set other properties in both DataWriter Qos and Topic Qos?
For datawriter and datareader QoS settings to take effect they have to be applied to the datawriter and datareaders.
You don't need to set the same QoS settings (or any QoS settings) using Topic QoS. You can think of Topic QoS as a storage location for QoS settings that can then be applied to relevant data readers and writers. If you use Topic QoS this way it can help with applying consistant QoS settings between different readers and writers.
Here is a relevant section in our manual: https://community.rti.com/static/documentation/connext-dds/current/doc/manuals/connext_dds_professional/users_manual/users_manual/CopyingQoSFromTopictoDW.htm