This paper uses a modified transfer matrix method to investigate the optical properties of a cylindrical topological photonic crystal heterostructure composed of two cylindrical photonic crystals. Topological photonic crystals are novel structures with topological edge states capable of field confinement and robust propagation. Numerical results showed that when the sum of the phases of the reflection coefficients of the two cylindrical photonic crystals is zero, a topological edge state occurs inside their overlapping band gaps. In the linear regime, the peak frequency of the topological edge states undergoes a redshift as the incidence angle increases. An increase in the incidence angle leads to a decrease (increase) in the Full width at half maximum of the E-polarized (H-polarized) topological edge states. As the incidence angle increases, the frequency separation between the E-polarized and H-polarized topological edge states increases, causing the cylindrical heterostructure to work as a polarizer. The performance of the cylindrical topological photonic crystal heterostructure as a polarizer is evaluated in the linear and nonlinear regimes. We showed that the peak frequency of the topological edge states undergoes a redshift irrespective of their polarization state as the intensity of the input light increases. We found that the structure has a good performance in the nonlinear regime due to the higher displacement in E-polarized topological edge states compared to H-polarized topological edge states. The findings of this paper might be beneficial in the construction of polarization-maintaining optical fiber, which has specific applications in telecommunications, fiber optic sensing, interferometry, and quantum key distribution.