Skip to content

How to implement a HTTPs Server? #17

@rangwea

Description

@rangwea

Hi.

I need a HTTPS implement, now I touch a HttpsServerFactory extends AbstractServerFactory. such as:

@JsonTypeName("https")
public class HttpsServerFactory extends AbstractServerFactory {
      @Valid
      @NotNull
      private List<ConnectorFactory> applicationConnectors = Lists.newArrayList(new ConnectorFactory[]
    {HttpsConnectorFactory.application()});
 
    @Valid
    @NotNull
    private List<ConnectorFactory> adminConnectors = Lists.newArrayList(new ConnectorFactory[]
    {HttpsConnectorFactory.admin()});

    ...
}

then, I modify the kafka-http.yml file , adding the configuration such as:

server: 
     "type": "https"

but, I still got the DefaultServerFactory

Who can help me?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions